Closed jakowenko closed 3 years ago
Closing as this has to do with the features of the media_player entity in HA and not the integration.
I was able to remove one of them by adding this to my configuration file.
homekit:
entity_config:
media_player.sync_box:
feature_list:
- feature: on_off
- feature: play_stop
Just as an FYI. The power switch is to turn on/off the box. Not related to syncing. Personally I have the box setup to it turns on/off automatically when other devices turn on, so I never need to do that manually.
Play/pause and Play/stop indeed do the same; they start/stop syncing. I initially wanted to use the mediaplayer Stop functionality as I think that best reflects sync start/stop of the box, but the HA mediaplayer card sends the wrong command for the Stop button so I switched to the mediaplayer Pause command. However the flag that indicates support for Stop is still in there so that is probably why it is showing both Stop and Pause. I was not aware that this is how HA exports mediaplayers to HomeKit so I should probably cleanup that flag at some point.
Hello,
Thank you for this awesome integration. I have it working within Home Assistant and exposed the media_player to HomeKit. I noticed within the Apple Home app there are three accessories that show up. I was curious what the difference was between the "Play-Pause" and "Play-Stop" actions. They both seem to do the same thing and when one is turned on/off the other also does the same.