Skip to content

Commit

Permalink
Add missing homekit metadata. (#829)
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
  • Loading branch information
Cossey authored Jan 21, 2021
1 parent 639abb3 commit d7a80f3
Showing 1 changed file with 54 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
const accessories = {
'AirQualitySensor': [
'AirQuality',
'OzoneDensity',
'NitrogenDioxideDensity',
'SulphurDioxideDensity',
'PM25Density',
'PM10Density',
'VOCDensity',
'Name',
'ActiveStatus',
'FaultStatus',
'TamperedStatus',
'BatteryLowStatus'
],
'LeakSensor': [
'LeakDetectedState',
'Name',
Expand Down Expand Up @@ -39,6 +53,14 @@ const accessories = {
'TamperedStatus',
'BatteryLowStatus'
],
'LightSensor': [
'LightLevel',
'Name',
'ActiveStatus',
'FaultStatus',
'TamperedStatus',
'BatteryLowStatus'
],
'HumiditySensor': [
'RelativeHumidity',
'Name',
Expand Down Expand Up @@ -75,6 +97,22 @@ const accessories = {
'TamperedStatus',
'BatteryLowStatus'
],
'Door': [
'CurrentPosition',
'TargetPosition',
'PositionState',
'Name',
'HoldPosition',
'ObstructionStatus'
],
'Window': [
'CurrentPosition',
'TargetPosition',
'PositionState',
'Name',
'HoldPosition',
'ObstructionStatus'
],
'WindowCovering': [
'CurrentPosition',
'TargetPosition',
Expand Down Expand Up @@ -117,7 +155,22 @@ const accessories = {
'CurrentTemperature',
'TargetTemperature',
'CurrentHeatingCoolingMode',
'TargetHeatingCoolingMode'
'TargetHeatingCoolingMode',
'Name',
'CoolingThresholdTemperature',
'HeatingThresholdTemperature'
],
'HeaterCooler': [
'ActiveStatus',
'CurrentTemperature',
'CurrentHeaterCoolerState',
'TargetHeaterCoolerState',
'Name',
'RotationSpeed',
'SwingMode',
'LockControl',
'CoolingThresholdTemperature',
'HeatingThresholdTemperature'
],
'Lock': [
'LockCurrentState',
Expand Down

0 comments on commit d7a80f3

Please sign in to comment.