[boschshc] Support smart light bulbs (#13725)

* [boschshc] Support smart light bulbs (#13707)

* add thing type definition for smart bulbs using system channels
* add constants for thing type and channels
* implement and register handler
* implement binary switch service (to switch on/off)
* implement multi-level switch service (allows to get/set brightness
from 0-100%)
* implement service to get and set colors
* add unit tests for handler and state classes
- update documentation

Signed-off-by: David Pace <dev@davidpace.de>
This commit is contained in:
David Pace
2022-11-20 22:12:49 +01:00
committed by GitHub
parent bfff07bb01
commit 1251873843
17 changed files with 689 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ Binding for the Bosch Smart Home.
- [Security Camera 360](#security-camera-360)
- [Security Camera Eyes](#security-camera-eyes)
- [Intrusion Detection System](#intrusion-detection-system)
- [Smart Bulb](#smart-bulb)
- [Limitations](#limitations)
- [Discovery](#discovery)
- [Bridge Configuration](#bridge-configuration)
@@ -178,6 +179,18 @@ Allows to retrieve notifications in case of intrusions. The system can be armed
| disarm-action | Switch | &#9745; | Disarms the intrusion detection system when an ON command is received. |
| mute-action | Switch | &#9745; | Mutes the alarm when an ON command is received. |
### Smart Bulb
A smart bulb connected to the bridge via Zigbee such as a Ledvance Smart+ bulb.
**Thing Type ID**: `smart-bulb`
| Channel Type ID | Item Type | Writable | Description |
| ----------------| --------- | :------: | -------------------------------------------------------------- |
| power-switch | Switch | &#9745; | Switches the light on or off. |
| brightness | Dimmer | &#9745; | Regulates the brightness on a percentage scale from 0 to 100%. |
| color | Color | &#9745; | The color of the emitted light. |
## Limitations
- Discovery of Things