DeutscheMark / homebridge-kodi

Kodi plugin for Homebridge
MIT License
28 stars 4 forks source link

Pause and automations #7

Closed i3laze closed 4 years ago

i3laze commented 4 years ago

Just wondering: I’ve added a Pause switch to HomeKit automation with an action to toggle it On.. Hitting such automation while Pause toggle is already On unpauses playback :( Seems like a false activation/bug. Is that so?

Currently I have to add a condition “while Playback is off” via Eve.app as a workaround.

DeutscheMark commented 4 years ago

Thanks for posting this issue. It's indeed a bug as the switch does currently just toggle the play status and not really setting it.

I already changed the method for the play and pause switches to correctly send the commands to Kodi so automations should work fine then.

I will release the fix soon with 0.3.0, but it's not quite ready yet.

DeutscheMark commented 4 years ago

Should be fixed now with v0.3.0.

i3laze commented 4 years ago

Great job, Will give it a try.. after holidays :)