Expand MQTT lights (#6481)
* Add effect support to MQTT Light * Use effect state topic for supported_features * Dont use rainbow as default color * Add color_temp support to MQTT JSON Light * Add effect to MQTT JSON light * Support lights in MQTT discovery * Allow discovered devices to set their platform * Add white value support to MQTT Light * Add white value support to MQTT JSON Light * Remove blank line * Add color_temp support to MQTT Template light * Add white value support to MQTT Template Light * Remove unused SUPPORT_MQTT_TEMPLATE and stale unused flash and transition code from MQTT Template * Add XY Color to MQTT Light Platform * Fix syntax * Fix more syntax errors * Revert "Remove unused SUPPORT_MQTT_TEMPLATE and stale unused flash and transition code from MQTT Template" This reverts commit c03798cb636e6b3258fce6f676fc6ca34c9b7d37. * MQTT Template supports flash and transition but doesnt allow templating of the values * Add XY color support to MQTT JSON * Proper variable names * Only allow whitelisted MQTT platforms to be loaded via MQTT Discovery * Minor tweaks.
This commit is contained in:
1 parent
c937a7bcb0
commit
2b97449d98
8 files changed
+945
-136
No files matched your search
@@ -87,6 +87,7 @@ CONF_DISCOVERY = 'discovery'
|
||||
CONF_DISPLAY_OPTIONS = 'display_options'
|
||||
CONF_DOMAIN = 'domain'
|
||||
CONF_DOMAINS = 'domains'
|
||||
CONF_EFFECT = 'effect'
|
||||
CONF_ELEVATION = 'elevation'
|
||||
CONF_EMAIL = 'email'
|
||||
CONF_ENTITIES = 'entities'
|
||||
@@ -153,6 +154,8 @@ CONF_VALUE_TEMPLATE = 'value_template'
|
||||
CONF_VERIFY_SSL = 'verify_ssl'
|
||||
CONF_WEEKDAY = 'weekday'
|
||||
CONF_WHITELIST = 'whitelist'
|
||||
CONF_WHITE_VALUE = 'white_value'
|
||||
CONF_XY = 'xy'
|
||||
CONF_ZONE = 'zone'
|
||||
|
||||
# #### EVENTS ####
|
||||
|
||||
Reference in new issue
Block a user