This commit is contained in:
Edward Firmo
2024-03-08 13:33:42 +01:00
parent 32e9246ace
commit 26c5a42914

View File

@@ -537,8 +537,6 @@ api:
page_title: string # Title for the alarm settings page, displayed prominently at the top. page_title: string # Title for the alarm settings page, displayed prominently at the top.
state: string # Current state of the alarm system (e.g., "armed_home", "disarmed"). state: string # Current state of the alarm system (e.g., "armed_home", "disarmed").
supported_features: int # Bitmask representing the alarm system's supported features, determining available controls on the page. supported_features: int # Bitmask representing the alarm system's supported features, determining available controls on the page.
# Refer to Home Assistant Alarm Control Panel Supported Features for specific bitmask values:
# https://github.com/home-assistant/core/blob/33ff6b5b6ee3d92f4bb8deb9594d67748ea23d7c/homeassistant/components/alarm_control_panel/const.py#L32
code_format: string # Format required for the alarm code (numeric, alphanumeric). code_format: string # Format required for the alarm code (numeric, alphanumeric).
code_arm_required: bool # Indicates if a code is needed to arm the system. code_arm_required: bool # Indicates if a code is needed to arm the system.
entity: string # Entity ID for the alarm system, enabling state updates and control. entity: string # Entity ID for the alarm system, enabling state updates and control.
@@ -631,8 +629,6 @@ api:
variables: variables:
current_temp: float # Current temperature reading. current_temp: float # Current temperature reading.
supported_features: int # Bitmask indicating the supported features of the climate device, such as temperature control (1) and fan mode (4). supported_features: int # Bitmask indicating the supported features of the climate device, such as temperature control (1) and fan mode (4).
# Combine bitmask values for multiple features. See Home Assistant Climate Component Constants for details:
# https://github.com/home-assistant/core/blob/33ff6b5b6ee3d92f4bb8deb9594d67748ea23d7c/homeassistant/components/climate/const.py#L156C7-L156C27
target_temp: float # Desired target temperature setting. target_temp: float # Desired target temperature setting.
target_temp_high: float # Upper limit of the target temperature range for devices supporting ranges. target_temp_high: float # Upper limit of the target temperature range for devices supporting ranges.
target_temp_low: float # Lower limit of the target temperature range. target_temp_low: float # Lower limit of the target temperature range.
@@ -675,8 +671,6 @@ api:
media_position: float # Current playback position in the media in seconds. media_position: float # Current playback position in the media in seconds.
media_position_delta: float # Time elapsed since the last media position update in seconds. media_position_delta: float # Time elapsed since the last media position update in seconds.
supported_features: int # Bitmask indicating the media player's supported features (e.g., play, pause, volume control). supported_features: int # Bitmask indicating the media player's supported features (e.g., play, pause, volume control).
# Refer to Home Assistant Media Player Supported Features for detailed bitmask values:
# https://github.com/home-assistant/core/blob/33ff6b5b6ee3d92f4bb8deb9594d67748ea23d7c/homeassistant/components/media_player/const.py#L23
then: then:
- lambda: |- - lambda: |-
if (current_page->state == "media_player" and !id(is_uploading_tft)) { if (current_page->state == "media_player" and !id(is_uploading_tft)) {
@@ -814,7 +808,6 @@ api:
- service: wake_up - service: wake_up
variables: variables:
reset_timer: bool # Determines whether to reset the sleep and dimming timers upon waking the display. reset_timer: bool # Determines whether to reset the sleep and dimming timers upon waking the display.
# Setting this to true keeps the display active during user presence, while false retains the current timer settings.
then: then:
- lambda: |- - lambda: |-
if (!id(is_uploading_tft)) { if (!id(is_uploading_tft)) {
@@ -1632,11 +1625,11 @@ text_sensor:
- id: notification_label - id: notification_label
name: Notification Label name: Notification Label
platform: template platform: template
- id: notification_text - id: notification_text
name: Notification Text name: Notification Text
platform: template platform: template
##### NSPanel event sensor, the main action sensor - push to HA ##### ##### NSPanel event sensor, the main action sensor - push to HA #####
- id: disp1_nspanel_event - id: disp1_nspanel_event
name: NSPanel event name: NSPanel event