Add abbreviation for light template variable names (#9573)

This commit is contained in:
Maciej Bieniek 2019-06-06 18:10:48 +02:00 committed by Fabian Affolter
parent 58d210e64e
commit 8cbb2e9df7

View File

@ -84,9 +84,11 @@ Supported abbreviations:
'away_mode_cmd_t': 'away_mode_command_topic', 'away_mode_cmd_t': 'away_mode_command_topic',
'away_mode_stat_tpl': 'away_mode_state_template', 'away_mode_stat_tpl': 'away_mode_state_template',
'away_mode_stat_t': 'away_mode_state_topic', 'away_mode_stat_t': 'away_mode_state_topic',
'b_tpl': 'blue_template',
'bri_cmd_t': 'brightness_command_topic', 'bri_cmd_t': 'brightness_command_topic',
'bri_scl': 'brightness_scale', 'bri_scl': 'brightness_scale',
'bri_stat_t': 'brightness_state_topic', 'bri_stat_t': 'brightness_state_topic',
'bri_tpl': 'brightness_template',
'bri_val_tpl': 'brightness_value_template', 'bri_val_tpl': 'brightness_value_template',
'bat_lev_t': 'battery_level_topic', 'bat_lev_t': 'battery_level_topic',
'bat_lev_tpl': 'battery_level_template', 'bat_lev_tpl': 'battery_level_template',
@ -97,6 +99,8 @@ Supported abbreviations:
'clr_temp_val_tpl': 'color_temp_value_template', 'clr_temp_val_tpl': 'color_temp_value_template',
'cln_t': 'cleaning_topic', 'cln_t': 'cleaning_topic',
'cln_tpl': 'cleaning_template', 'cln_tpl': 'cleaning_template',
'cmd_off_tpl': 'command_off_template',
'cmd_on_tpl': 'command_on_template',
'cmd_t': 'command_topic', 'cmd_t': 'command_topic',
'curr_temp_t': 'current_temperature_topic', 'curr_temp_t': 'current_temperature_topic',
'curr_temp_tpl': 'current_temperature_template', 'curr_temp_tpl': 'current_temperature_template',
@ -112,12 +116,14 @@ Supported abbreviations:
'fx_cmd_t': 'effect_command_topic', 'fx_cmd_t': 'effect_command_topic',
'fx_list': 'effect_list', 'fx_list': 'effect_list',
'fx_stat_t': 'effect_state_topic', 'fx_stat_t': 'effect_state_topic',
'fx_tpl': 'effect_template',
'fx_val_tpl': 'effect_value_template', 'fx_val_tpl': 'effect_value_template',
'exp_aft': 'expire_after', 'exp_aft': 'expire_after',
'fan_mode_cmd_t': 'fan_mode_command_topic', 'fan_mode_cmd_t': 'fan_mode_command_topic',
'fan_mode_stat_tpl': 'fan_mode_state_template', 'fan_mode_stat_tpl': 'fan_mode_state_template',
'fan_mode_stat_t': 'fan_mode_state_topic', 'fan_mode_stat_t': 'fan_mode_state_topic',
'frc_upd': 'force_update', 'frc_upd': 'force_update',
'g_tpl': 'green_template',
'hold_cmd_t': 'hold_command_topic', 'hold_cmd_t': 'hold_command_topic',
'hold_stat_tpl': 'hold_state_template', 'hold_stat_tpl': 'hold_state_template',
'hold_stat_t': 'hold_state_topic', 'hold_stat_t': 'hold_state_topic',
@ -154,6 +160,7 @@ Supported abbreviations:
'pl_stop': 'payload_stop', 'pl_stop': 'payload_stop',
'pl_unlk': 'payload_unlock', 'pl_unlk': 'payload_unlock',
'pow_cmd_t': 'power_command_topic', 'pow_cmd_t': 'power_command_topic',
'r_tpl': 'red_template',
'ret': 'retain', 'ret': 'retain',
'rgb_cmd_tpl': 'rgb_command_template', 'rgb_cmd_tpl': 'rgb_command_template',
'rgb_cmd_t': 'rgb_command_topic', 'rgb_cmd_t': 'rgb_command_topic',
@ -173,6 +180,7 @@ Supported abbreviations:
'stat_on': 'state_on', 'stat_on': 'state_on',
'stat_open': 'state_open', 'stat_open': 'state_open',
'stat_t': 'state_topic', 'stat_t': 'state_topic',
'stat_tpl': 'state_template',
'stat_val_tpl': 'state_value_template', 'stat_val_tpl': 'state_value_template',
'sup_feat': 'supported_features', 'sup_feat': 'supported_features',
'swing_mode_cmd_t': 'swing_mode_command_topic', 'swing_mode_cmd_t': 'swing_mode_command_topic',