Skip to content

Commit

Permalink
Add color_mode support to MQTT light with basic schema (#50464)
Browse files Browse the repository at this point in the history
* Add color_mode support to MQTT light with basic schema

* Update abbreviations

* Silence pylint

* Improve test coverage

* Apply suggestions from code review
  • Loading branch information
emontnemery authored May 24, 2021
1 parent b169a8d commit 870c61a
Show file tree
Hide file tree
Showing 3 changed files with 1,613 additions and 45 deletions.
10 changes: 10 additions & 0 deletions homeassistant/components/mqtt/abbreviations.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"chrg_t": "charging_topic",
"chrg_tpl": "charging_template",
"clrm": "color_mode",
"clrm_stat_t": "color_mode_state_topic",
"clrm_val_tpl": "color_mode_value_template",
"clr_temp_cmd_t": "color_temp_command_topic",
"clr_temp_stat_t": "color_temp_state_topic",
"clr_temp_tpl": "color_temp_template",
Expand Down Expand Up @@ -146,6 +148,14 @@
"rgb_cmd_t": "rgb_command_topic",
"rgb_stat_t": "rgb_state_topic",
"rgb_val_tpl": "rgb_value_template",
"rgbw_cmd_tpl": "rgbw_command_template",
"rgbw_cmd_t": "rgbw_command_topic",
"rgbw_stat_t": "rgbw_state_topic",
"rgbw_val_tpl": "rgbw_value_template",
"rgbww_cmd_tpl": "rgbww_command_template",
"rgbww_cmd_t": "rgbww_command_topic",
"rgbww_stat_t": "rgbww_state_topic",
"rgbww_val_tpl": "rgbww_value_template",
"send_cmd_t": "send_command_topic",
"send_if_off": "send_if_off",
"set_fan_spd_t": "set_fan_speed_topic",
Expand Down
Loading

0 comments on commit 870c61a

Please sign in to comment.