Skip to content

Commit

Permalink
[homekit] Add AccessoryGroup faux Accessory
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Cutrer <cody@cutrer.us>
  • Loading branch information
ccutrer committed Jul 30, 2024
1 parent 52e94c3 commit a842a80
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const accessories = {
'AccessoryGroup': [],
'AirQualitySensor': [
{ label: 'AirQuality', mandatory: true },
{ label: 'ActiveStatus', mandatory: false },
Expand Down Expand Up @@ -656,6 +657,7 @@ const targetMediaStateEnum = [
]

export const homekitParameters = {
'AccessoryGroup': [instanceParameter],
'AirQualitySensor': [instanceParameter].concat(airQualityEnum),
'AirQualitySensor.AirQuality': airQualityEnum,
'AirQualitySensor.BatteryLowStatus': [batteryLowThreshold, invertedParameter],
Expand Down

0 comments on commit a842a80

Please sign in to comment.