[mqtt.homeassistant] support non-RGB lights (#13413)

* [mqtt.homeassistant] support non-RGB lights

dynamically decide which type of channel to expose. also send "down-typed"
commands to the proper topic. this also sets the groundwork for supporting
template and JSON schemas

Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
Cody Cutrer
2022-11-05 09:57:06 -06:00
committed by GitHub
parent 969fef8612
commit db0ca281ca
9 changed files with 906 additions and 224 deletions

View File

@@ -22,7 +22,8 @@ These can be installed under `Settings` &rarr; `Addon` &rarr; `Transformations`
* The HomeAssistant Fan Components only support ON/OFF.
* The HomeAssistant Cover Components only support OPEN/CLOSE/STOP.
* The HomeAssistant Light Component only supports RGB color changes.
* The HomeAssistant Light Component only support on/off, brightness, and RGB.
Other color spaces, color temperature, effects, and white channel may work, but are untested.
* The HomeAssistant Climate Components is not yet supported.
## Tasmota auto discovery