Changes for Hue dimmer switch and Hue tap (issue #54):
- Added (Unknown) action for each button, as a workaround to make sure the actions for Single Press and Long Press are triggered consistently;
- Added
OutputState
characteristic to custom service for the switch, that holdsEnabled
,LastUpdated
, etc. (as in v0.1.x) as a backup for defining rules for the Hue dimmer switch/Hue tap. TheOutputState
holds the number of the button last pressed. No distinction between press vs hold.
Note that both these changes might be reversed when iOS 10.3 is released.
Heartbeat now (again) does separate requests to the Hue bridge for /config, /sensors, /lights, /groups, /groups/0, /schedules, /rules instead of a single full bridge state, see issue #15. Note that the request is issued only when the corresponding resource type is configured in config.json.