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.
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.
# 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_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.
@@ -631,8 +629,6 @@ api:
variables:
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).
# 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_high: float # Upper limit of the target temperature range for devices supporting ranges.
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_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).
# 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:
- lambda: |-
if (current_page->state == "media_player" and !id(is_uploading_tft)) {
@@ -814,7 +808,6 @@ api:
- service: wake_up
variables:
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:
- lambda: |-
if (!id(is_uploading_tft)) {
@@ -1632,11 +1625,11 @@ text_sensor:
- id: notification_label
name: Notification Label
platform: template
- id: notification_text
name: Notification Text
platform: template
##### NSPanel event sensor, the main action sensor - push to HA #####
- id: disp1_nspanel_event
name: NSPanel event