Is there a way/command (Homeyscript or Webhooks) to change a capability value (like on/off) of a device?
The reason I’m asking is that I have a few devices that can be turned on and off without Homey knowing it. My TV for instance can be turned on by Homey (through a Harmony Hub) but also with the infrared remote that came with the TV. When someone uses the TV’s remote to turn the TV on, Homey nor the Harmony Hub know this, and Homey thinks the TV is still turned off. To make matters worse; the TV only has an on/off toggle command, so Homey also can only toggle the on/off.
I’ve placed a powerplug so Homey can detect if the TV is on or off, so what I need is a way to ‘synchronize’ the on/off state of state without actually turning the device on or off.
Any hint, tip or solution to this problem would be greatly appreciated