Open jensflorian opened 3 years ago
This looks like it works like the ClimateControl devices we already have. Should be pretty easy to implement.
On https://apidocs.bosch-smarthome.com/local there is LightControl documented, but it has a powerSwitchState instead of a binarySwitchState :/
I might have to ask for the API documentation for these virtual devices in the Bosch repository first.
Currently in-wall-switches are already supported. I would like to see in future versions as an enhancement also support for its parent: The roomLightControl service controls all light items assigned to a given room in Bosch SHC. There is only one channel for operation.
The device is already successfully detected in the current version.
[INFO ] [devices.bridge.BoschSHCBridgeHandler] - Found device: name=RoomLightControl id=roomLightControl_hz_5
The relevant device path is (for example in room hz_5 as above):
/devices/roomLightControl_hz_5/services/BinarySwitch/state
Output in REST API (when all lights are off):
"true" turns all lights on.