sort mqtt discovery abbreviations (#30645)

This commit is contained in:
Cody Cutrer 2024-01-04 15:34:16 -07:00 committed by GitHub
parent f1dcf19e7d
commit 63ecdff604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,16 +298,16 @@ support_url:
'act_tpl': 'action_template', 'act_tpl': 'action_template',
'atype': 'automation_type', 'atype': 'automation_type',
'aux_cmd_t': 'aux_command_topic', 'aux_cmd_t': 'aux_command_topic',
'aux_stat_tpl': 'aux_state_template',
'aux_stat_t': 'aux_state_topic', 'aux_stat_t': 'aux_state_topic',
'aux_stat_tpl': 'aux_state_template',
'av_tones': 'available_tones', 'av_tones': 'available_tones',
'avty': 'availability', 'avty': 'availability',
'avty_mode': 'availability_mode', 'avty_mode': 'availability_mode',
'avty_t': 'availability_topic', 'avty_t': 'availability_topic',
'avty_tpl': 'availability_template', 'avty_tpl': 'availability_template',
'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_t': 'away_mode_state_topic', 'away_mode_stat_t': 'away_mode_state_topic',
'away_mode_stat_tpl': 'away_mode_state_template',
'b_tpl': 'blue_template', 'b_tpl': 'blue_template',
'bri_cmd_t': 'brightness_command_topic', 'bri_cmd_t': 'brightness_command_topic',
'bri_cmd_tpl': 'brightness_command_template', 'bri_cmd_tpl': 'brightness_command_template',
@ -354,6 +354,7 @@ support_url:
'err_t': 'error_topic', 'err_t': 'error_topic',
'err_tpl': 'error_template', 'err_tpl': 'error_template',
'evt_typ': 'event_types', 'evt_typ': 'event_types',
'exp_aft': 'expire_after',
'fanspd_t': 'fan_speed_topic', 'fanspd_t': 'fan_speed_topic',
'fanspd_tpl': 'fan_speed_template', 'fanspd_tpl': 'fan_speed_template',
'fanspd_lst': 'fan_speed_list', 'fanspd_lst': 'fan_speed_list',
@ -365,11 +366,10 @@ support_url:
'fx_stat_t': 'effect_state_topic', 'fx_stat_t': 'effect_state_topic',
'fx_tpl': 'effect_template', 'fx_tpl': 'effect_template',
'fx_val_tpl': 'effect_value_template', 'fx_val_tpl': 'effect_value_template',
'exp_aft': 'expire_after',
'fan_mode_cmd_tpl': 'fan_mode_command_template',
'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_cmd_tpl': 'fan_mode_command_template',
'fan_mode_stat_t': 'fan_mode_state_topic', 'fan_mode_stat_t': 'fan_mode_state_topic',
'fan_mode_stat_tpl': 'fan_mode_state_template',
'frc_upd': 'force_update', 'frc_upd': 'force_update',
'g_tpl': 'green_template', 'g_tpl': 'green_template',
'hs_cmd_t': 'hs_command_topic', 'hs_cmd_t': 'hs_command_topic',
@ -392,18 +392,18 @@ support_url:
'lrst_t': 'last_reset_topic', 'lrst_t': 'last_reset_topic',
'lrst_val_tpl': 'last_reset_value_template', 'lrst_val_tpl': 'last_reset_value_template',
'max': 'max', 'max': 'max',
'min': 'min',
'max_mirs': 'max_mireds',
'min_mirs': 'min_mireds',
'max_temp': 'max_temp',
'min_temp': 'min_temp',
'max_hum': 'max_humidity', 'max_hum': 'max_humidity',
'max_mirs': 'max_mireds',
'max_temp': 'max_temp',
'min': 'min',
'min_hum': 'min_humidity', 'min_hum': 'min_humidity',
'min_mirs': 'min_mireds',
'min_temp': 'min_temp',
'mode': 'mode', 'mode': 'mode',
'mode_cmd_tpl': 'mode_command_template',
'mode_cmd_t': 'mode_command_topic', 'mode_cmd_t': 'mode_command_topic',
'mode_stat_tpl': 'mode_state_template', 'mode_cmd_tpl': 'mode_command_template',
'mode_stat_t': 'mode_state_topic', 'mode_stat_t': 'mode_state_topic',
'mode_stat_tpl': 'mode_state_template',
'modes': 'modes', 'modes': 'modes',
'name': 'name', 'name': 'name',
'o': 'origin', 'o': 'origin',
@ -420,25 +420,22 @@ support_url:
'pct_cmd_tpl': 'percentage_command_template', 'pct_cmd_tpl': 'percentage_command_template',
'pct_stat_t': 'percentage_state_topic', 'pct_stat_t': 'percentage_state_topic',
'pct_val_tpl': 'percentage_value_template', 'pct_val_tpl': 'percentage_value_template',
'ptrn': 'pattern',
'pl': 'payload', 'pl': 'payload',
'pl_arm_away': 'payload_arm_away', 'pl_arm_away': 'payload_arm_away',
'pl_arm_home': 'payload_arm_home',
'pl_arm_custom_b': 'payload_arm_custom_bypass', 'pl_arm_custom_b': 'payload_arm_custom_bypass',
'pl_arm_home': 'payload_arm_home',
'pl_arm_nite': 'payload_arm_night', 'pl_arm_nite': 'payload_arm_night',
'pl_arm_vacation': 'payload_arm_vacation', 'pl_arm_vacation': 'payload_arm_vacation',
'pl_prs': 'payload_press',
'pl_rst': 'payload_reset',
'pl_avail': 'payload_available', 'pl_avail': 'payload_available',
'pl_cln_sp': 'payload_clean_spot', 'pl_cln_sp': 'payload_clean_spot',
'pl_cls': 'payload_close', 'pl_cls': 'payload_close',
'pl_disarm': 'payload_disarm',
'pl_dir_fwd': 'payload_direction_forward', 'pl_dir_fwd': 'payload_direction_forward',
'pl_dir_rev': 'payload_direction_reverse', 'pl_dir_rev': 'payload_direction_reverse',
'pl_disarm': 'payload_disarm',
'pl_home': 'payload_home', 'pl_home': 'payload_home',
'pl_inst': 'payload_install', 'pl_inst': 'payload_install',
'pl_lock': 'payload_lock',
'pl_loc': 'payload_locate', 'pl_loc': 'payload_locate',
'pl_lock': 'payload_lock',
'pl_not_avail': 'payload_not_available', 'pl_not_avail': 'payload_not_available',
'pl_not_home': 'payload_not_home', 'pl_not_home': 'payload_not_home',
'pl_off': 'payload_off', 'pl_off': 'payload_off',
@ -447,14 +444,16 @@ support_url:
'pl_osc_off': 'payload_oscillation_off', 'pl_osc_off': 'payload_oscillation_off',
'pl_osc_on': 'payload_oscillation_on', 'pl_osc_on': 'payload_oscillation_on',
'pl_paus': 'payload_pause', 'pl_paus': 'payload_pause',
'pl_stop': 'payload_stop', 'pl_prs': 'payload_press',
'pl_strt': 'payload_start',
'pl_stpa': 'payload_start_pause',
'pl_ret': 'payload_return_to_base', 'pl_ret': 'payload_return_to_base',
'pl_rst': 'payload_reset',
'pl_rst_hum': 'payload_reset_humidity', 'pl_rst_hum': 'payload_reset_humidity',
'pl_rst_mode': 'payload_reset_mode', 'pl_rst_mode': 'payload_reset_mode',
'pl_rst_pct': 'payload_reset_percentage', 'pl_rst_pct': 'payload_reset_percentage',
'pl_rst_pr_mode': 'payload_reset_preset_mode', 'pl_rst_pr_mode': 'payload_reset_preset_mode',
'pl_stop': 'payload_stop',
'pl_stpa': 'payload_start_pause',
'pl_strt': 'payload_start',
'pl_toff': 'payload_turn_off', 'pl_toff': 'payload_turn_off',
'pl_ton': 'payload_turn_on', 'pl_ton': 'payload_turn_on',
'pl_trig': 'payload_trigger', 'pl_trig': 'payload_trigger',
@ -467,6 +466,7 @@ support_url:
'pr_mode_stat_t': 'preset_mode_state_topic', 'pr_mode_stat_t': 'preset_mode_state_topic',
'pr_mode_val_tpl': 'preset_mode_value_template', 'pr_mode_val_tpl': 'preset_mode_value_template',
'pr_modes': 'preset_modes', 'pr_modes': 'preset_modes',
'ptrn': 'pattern',
'r_tpl': 'red_template', 'r_tpl': 'red_template',
'rel_s': 'release_summary', 'rel_s': 'release_summary',
'rel_u': 'release_url', 'rel_u': 'release_url',
@ -486,26 +486,26 @@ support_url:
'send_cmd_t': 'send_command_topic', 'send_cmd_t': 'send_command_topic',
'send_if_off': 'send_if_off', 'send_if_off': 'send_if_off',
'set_fan_spd_t': 'set_fan_speed_topic', 'set_fan_spd_t': 'set_fan_speed_topic',
'set_pos_tpl': 'set_position_template',
'set_pos_t': 'set_position_topic', 'set_pos_t': 'set_position_topic',
'set_pos_tpl': 'set_position_template',
'pos_t': 'position_topic', 'pos_t': 'position_topic',
'pos_tpl': 'position_template', 'pos_tpl': 'position_template',
'spd_rng_min': 'speed_range_min', 'spd_rng_min': 'speed_range_min',
'spd_rng_max': 'speed_range_max', 'spd_rng_max': 'speed_range_max',
'src_type': 'source_type', 'src_type': 'source_type',
'stat_cla': 'state_class', 'stat_cla': 'state_class',
'stat_clsd': 'state_closed',
'stat_closing': 'state_closing', 'stat_closing': 'state_closing',
'stat_clsd': 'state_closed',
'stat_jam': 'state_jammed', 'stat_jam': 'state_jammed',
'stat_locked': 'state_locked',
'stat_locking': 'state_locking',
'stat_off': 'state_off', 'stat_off': 'state_off',
'stat_on': 'state_on', 'stat_on': 'state_on',
'stat_open': 'state_open', 'stat_open': 'state_open',
'stat_opening': 'state_opening', 'stat_opening': 'state_opening',
'stat_stopped': 'state_stopped', 'stat_stopped': 'state_stopped',
'stat_locked': 'state_locked',
'stat_locking': 'state_locking',
'stat_unlocked': 'state_unlocked', 'stat_unlocked': 'state_unlocked',
'stat_unlocking': 'state_unlocking', 'stat_unlocking': 'state_unlocking',
'stat_t': 'state_topic', 'stat_t': 'state_topic',
'stat_tpl': 'state_template', 'stat_tpl': 'state_template',
'stat_val_tpl': 'state_value_template', 'stat_val_tpl': 'state_value_template',
@ -516,22 +516,23 @@ support_url:
'sup_dur': 'support_duration', 'sup_dur': 'support_duration',
'sup_vol': 'support_volume_set', 'sup_vol': 'support_volume_set',
'sup_feat': 'supported_features', 'sup_feat': 'supported_features',
'swing_mode_cmd_tpl': 'swing_mode_command_template',
'swing_mode_cmd_t': 'swing_mode_command_topic', 'swing_mode_cmd_t': 'swing_mode_command_topic',
'swing_mode_stat_tpl': 'swing_mode_state_template', 'swing_mode_cmd_tpl': 'swing_mode_command_template',
'swing_mode_stat_t': 'swing_mode_state_topic', 'swing_mode_stat_t': 'swing_mode_state_topic',
'temp_cmd_tpl': 'temperature_command_template', 'swing_mode_stat_tpl': 'swing_mode_state_template',
't': 'topic',
'temp_cmd_t': 'temperature_command_topic', 'temp_cmd_t': 'temperature_command_topic',
'temp_hi_cmd_tpl': 'temperature_high_command_template', 'temp_cmd_tpl': 'temperature_command_template',
'temp_hi_cmd_t': 'temperature_high_command_topic', 'temp_hi_cmd_t': 'temperature_high_command_topic',
'temp_hi_stat_tpl': 'temperature_high_state_template', 'temp_hi_cmd_tpl': 'temperature_high_command_template',
'temp_hi_stat_t': 'temperature_high_state_topic', 'temp_hi_stat_t': 'temperature_high_state_topic',
'temp_lo_cmd_tpl': 'temperature_low_command_template', 'temp_hi_stat_tpl': 'temperature_high_state_template',
'temp_lo_cmd_t': 'temperature_low_command_topic', 'temp_lo_cmd_t': 'temperature_low_command_topic',
'temp_lo_stat_tpl': 'temperature_low_state_template', 'temp_lo_cmd_tpl': 'temperature_low_command_template',
'temp_lo_stat_t': 'temperature_low_state_topic', 'temp_lo_stat_t': 'temperature_low_state_topic',
'temp_stat_tpl': 'temperature_state_template', 'temp_lo_stat_tpl': 'temperature_low_state_template',
'temp_stat_t': 'temperature_state_topic', 'temp_stat_t': 'temperature_state_topic',
'temp_stat_tpl': 'temperature_state_template',
'temp_unit': 'temperature_unit', 'temp_unit': 'temperature_unit',
'tilt_clsd_val': 'tilt_closed_value', 'tilt_clsd_val': 'tilt_closed_value',
'tilt_cmd_t': 'tilt_command_topic', 'tilt_cmd_t': 'tilt_command_topic',
@ -543,7 +544,6 @@ support_url:
'tilt_status_t': 'tilt_status_topic', 'tilt_status_t': 'tilt_status_topic',
'tilt_status_tpl': 'tilt_status_template', 'tilt_status_tpl': 'tilt_status_template',
'tit': 'title', 'tit': 'title',
't': 'topic',
'uniq_id': 'unique_id', 'uniq_id': 'unique_id',
'unit_of_meas': 'unit_of_measurement', 'unit_of_meas': 'unit_of_measurement',
'url_t': 'url_topic', 'url_t': 'url_topic',