Closed niels9001 closed 7 years ago
I'm trying to create a Hue Tap toggle button, and I need to set a flag to true/false within the action, like this:
{ "address": "/sensors/7/state", "method": "PUT", "body": { "flag": true } }
What should I use (e.g. LightCommand or SceneCommand) to achieve this?
This would be an InternalBridgeCommand with the Body set to new SensorState() { Flag = true} because the command goes to a sensor.
InternalBridgeCommand
new SensorState() { Flag = true}
I'm trying to create a Hue Tap toggle button, and I need to set a flag to true/false within the action, like this:
{ "address": "/sensors/7/state", "method": "PUT", "body": { "flag": true } }
What should I use (e.g. LightCommand or SceneCommand) to achieve this?