Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove event parameter #134

Merged
merged 1 commit into from
Jan 24, 2021
Merged

Remove event parameter #134

merged 1 commit into from
Jan 24, 2021

Conversation

yfre
Copy link
Contributor

@yfre yfre commented Jan 24, 2021

"event" is payload parameter used to subscribe or unsubscribe to/from event notification. e.g. controller sends "event:true" to the HAP accessory if it wants to get event notifications.

it is unclear from the specification whether it should be sent with accessory description or not. it is marked as optional. Java-HAP was always sending it with the value "false".

however, the recent version of home app stops working if this parameter is in the payload for some accessory types, e.g. ColorTemperature. (reported here openhab/openhab-addons#9799 and here https://community.openhab.org/t/homekit-color-temperature-with-hue-bulbs/105658). I could also re-produce this behaviour.

this PR removes "event" parameter from the payload.

Signed-off-by: Eugen Freiter <freiter@gmx.de>
@ccutrer ccutrer merged commit 45d9403 into hap-java:master Jan 24, 2021
@yfre yfre deleted the remove_event_param branch February 12, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants