Add scene platform to Qbus integration (#38836)

This commit is contained in:
Thomas D 2025-05-26 15:37:22 +02:00 committed by GitHub
parent b6585b6b6b
commit e61693d929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,10 +4,12 @@ description: Instructions on how to integrate your Qbus installation with Home A
ha_category:
- Climate
- Light
- Scene
- Switch
ha_platforms:
- climate
- light
- scene
- switch
ha_iot_class: Local Push
ha_codeowners:
@ -40,13 +42,12 @@ There is currently support for the following **Qbus** products within Home Assis
- **CTD01E to CTD03E (CTD 3.0)**: main controllers (yellow).
- **CTD10 to CTDMax (CTD 3.5)**: main controllers (black).
- **Toggle**: toggle outputs on controllers.
- **Dimmer**: dimmer outputs on controllers.
## Available entities
- **Climate**: manages thermostats by setting temperature and choosing presets.
- **Light**: controls dimmer lights, allowing both on/off functionality and brightness adjustment.
- **Scene**: activates predefined scenes.
- **Switch**: toggles on/off outputs.
## Removing the integration
@ -59,6 +60,38 @@ This integration follows standard integration removal. No extra steps are requir
All data from **Qbus** entities are pushed to Home Assistant over MQTT.
## Examples
### Automation to activate Qbus scene
This automation will activate the **Watching TV** Qbus scene when turning on your TV.
Replace `media_player.my_tv` with your TV entity and `scene.ctd_000001_watching_tv` with your Qbus scene entity.
{% raw %}
```yaml
alias: Activate TV scene when turning on TV
description: ""
mode: single
triggers:
- entity_id:
- media_player.my_tv
from: "off"
to: "on"
trigger: state
conditions: []
actions:
- target:
entity_id: scene.ctd_000001_watching_tv
metadata: {}
alias: Activate TV scene
action: scene.turn_on
data: {}
```
{% endraw %}
## Known limitations
The integration does not provide a way to update the firmware on the devices. This can only be done with the configuration software System Manager.