mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Extend attribute to hide from (numeric) state triggers (#15836)
This commit is contained in:
parent
db08c5029b
commit
fec061f5d1
@ -40,13 +40,16 @@ export class HaNumericStateTrigger extends LitElement {
|
|||||||
"available_modes",
|
"available_modes",
|
||||||
"away_mode",
|
"away_mode",
|
||||||
"changed_by",
|
"changed_by",
|
||||||
|
"code_arm_required",
|
||||||
"code_format",
|
"code_format",
|
||||||
|
"color_mode",
|
||||||
"color_modes",
|
"color_modes",
|
||||||
"current_activity",
|
"current_activity",
|
||||||
"device_class",
|
"device_class",
|
||||||
"editable",
|
"editable",
|
||||||
"effect_list",
|
"effect_list",
|
||||||
"effect",
|
"effect",
|
||||||
|
"entity_id",
|
||||||
"entity_picture",
|
"entity_picture",
|
||||||
"fan_mode",
|
"fan_mode",
|
||||||
"fan_modes",
|
"fan_modes",
|
||||||
@ -60,11 +63,20 @@ export class HaNumericStateTrigger extends LitElement {
|
|||||||
"hvac_mode",
|
"hvac_mode",
|
||||||
"hvac_modes",
|
"hvac_modes",
|
||||||
"icon",
|
"icon",
|
||||||
|
"id",
|
||||||
|
"latest_version",
|
||||||
|
"max_color_temp_kelvin",
|
||||||
|
"max_mireds",
|
||||||
|
"max_temp",
|
||||||
"media_album_name",
|
"media_album_name",
|
||||||
"media_artist",
|
"media_artist",
|
||||||
"media_content_type",
|
"media_content_type",
|
||||||
"media_position_updated_at",
|
"media_position_updated_at",
|
||||||
"media_title",
|
"media_title",
|
||||||
|
"min_color_temp_kelvin",
|
||||||
|
"min_mireds",
|
||||||
|
"min_temp",
|
||||||
|
"mode",
|
||||||
"next_dawn",
|
"next_dawn",
|
||||||
"next_dusk",
|
"next_dusk",
|
||||||
"next_midnight",
|
"next_midnight",
|
||||||
@ -74,8 +86,11 @@ export class HaNumericStateTrigger extends LitElement {
|
|||||||
"operation_list",
|
"operation_list",
|
||||||
"operation_mode",
|
"operation_mode",
|
||||||
"options",
|
"options",
|
||||||
|
"percentage_step",
|
||||||
|
"precipitation_unit",
|
||||||
"preset_mode",
|
"preset_mode",
|
||||||
"preset_modes",
|
"preset_modes",
|
||||||
|
"pressure_unit",
|
||||||
"release_notes",
|
"release_notes",
|
||||||
"release_summary",
|
"release_summary",
|
||||||
"release_url",
|
"release_url",
|
||||||
@ -83,19 +98,27 @@ export class HaNumericStateTrigger extends LitElement {
|
|||||||
"rgb_color",
|
"rgb_color",
|
||||||
"rgbw_color",
|
"rgbw_color",
|
||||||
"shuffle",
|
"shuffle",
|
||||||
|
"skipped_version",
|
||||||
"sound_mode_list",
|
"sound_mode_list",
|
||||||
"sound_mode",
|
"sound_mode",
|
||||||
"source_list",
|
"source_list",
|
||||||
"source_type",
|
"source_type",
|
||||||
"source",
|
"source",
|
||||||
"state_class",
|
"state_class",
|
||||||
|
"step",
|
||||||
|
"supported_color_modes",
|
||||||
"supported_features",
|
"supported_features",
|
||||||
"swing_mode",
|
"swing_mode",
|
||||||
"swing_mode",
|
|
||||||
"swing_modes",
|
"swing_modes",
|
||||||
|
"target_temp_step",
|
||||||
|
"temperature_unit",
|
||||||
"title",
|
"title",
|
||||||
"token",
|
"token",
|
||||||
"unit_of_measurement",
|
"unit_of_measurement",
|
||||||
|
"user_id",
|
||||||
|
"uuid",
|
||||||
|
"visibility_unit",
|
||||||
|
"wind_speed_unit",
|
||||||
"xy_color",
|
"xy_color",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -64,28 +64,51 @@ export class HaStateTrigger extends LitElement implements TriggerElement {
|
|||||||
hide_attributes: [
|
hide_attributes: [
|
||||||
"access_token",
|
"access_token",
|
||||||
"available_modes",
|
"available_modes",
|
||||||
|
"code_arm_required",
|
||||||
|
"code_format",
|
||||||
"color_modes",
|
"color_modes",
|
||||||
"device_class",
|
"device_class",
|
||||||
"editable",
|
"editable",
|
||||||
"effect_list",
|
"effect_list",
|
||||||
|
"entity_id",
|
||||||
"entity_picture",
|
"entity_picture",
|
||||||
"fan_modes",
|
"fan_modes",
|
||||||
"fan_speed_list",
|
"fan_speed_list",
|
||||||
"friendly_name",
|
"friendly_name",
|
||||||
|
"frontend_stream_type",
|
||||||
"has_date",
|
"has_date",
|
||||||
"has_time",
|
"has_time",
|
||||||
"hvac_modes",
|
"hvac_modes",
|
||||||
"icon",
|
"icon",
|
||||||
|
"id",
|
||||||
|
"max_color_temp_kelvin",
|
||||||
|
"max_mireds",
|
||||||
|
"max_temp",
|
||||||
|
"max",
|
||||||
|
"min_color_temp_kelvin",
|
||||||
|
"min_mireds",
|
||||||
|
"min_temp",
|
||||||
|
"min",
|
||||||
|
"mode",
|
||||||
"operation_list",
|
"operation_list",
|
||||||
"options",
|
"options",
|
||||||
|
"percentage_step",
|
||||||
|
"precipitation_unit",
|
||||||
"preset_modes",
|
"preset_modes",
|
||||||
|
"pressure_unit",
|
||||||
"sound_mode_list",
|
"sound_mode_list",
|
||||||
"source_list",
|
"source_list",
|
||||||
"state_class",
|
"state_class",
|
||||||
|
"step",
|
||||||
|
"supported_color_modes",
|
||||||
"supported_features",
|
"supported_features",
|
||||||
"swing_modes",
|
"swing_modes",
|
||||||
|
"target_temp_step",
|
||||||
|
"temperature_unit",
|
||||||
"token",
|
"token",
|
||||||
"unit_of_measurement",
|
"unit_of_measurement",
|
||||||
|
"visibility_unit",
|
||||||
|
"wind_speed_unit",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user