kopiro / homebridge-playstation

Playstation integration for Homebridge / HOOBS.
Apache License 2.0
97 stars 9 forks source link

Do not change state if device already in desired state #12

Closed kopiro closed 2 years ago

kopiro commented 2 years ago

If you try to turn off the PS5 when the PS5 is already off (for example by setting a scene that turns off PS5, or via Siri); the connection to device would be opened (and therefore waking up) and then it would be put in standby. We don't want that as PS5 is already in desidered state, therefore we can skip opening the connection at all.