From 6f71414087056e79d48d664bb108f2bf32c292d6 Mon Sep 17 00:00:00 2001 From: Florian Hess Date: Mon, 30 Sep 2024 11:26:27 +0200 Subject: [PATCH] Fix Number Settings --- firmware/addons/memory-utils.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/firmware/addons/memory-utils.yaml b/firmware/addons/memory-utils.yaml index 4f14c61..016f548 100644 --- a/firmware/addons/memory-utils.yaml +++ b/firmware/addons/memory-utils.yaml @@ -21,12 +21,11 @@ button: number: - platform: template name: "Ringtone volume" - optimistic: true min_value: 0 max_value: 7 step: 1 lambda: !lambda "return id(tc_bus_intercom)->get_settings().ringtone_volume;" - update_interval: 10s + update_interval: 1s set_action: - tc_bus.update_setting: type: volume_ringtone @@ -34,12 +33,11 @@ number: - platform: template name: "Handset volume" - optimistic: true min_value: 0 max_value: 7 step: 1 lambda: !lambda "return id(tc_bus_intercom)->get_settings().handset_volume;" - update_interval: 10s + update_interval: 1s set_action: - tc_bus.update_setting: type: volume_handset @@ -47,12 +45,11 @@ number: - platform: template name: "Ringtone: Floor Call" - optimistic: true min_value: 0 max_value: 12 step: 1 lambda: !lambda "return id(tc_bus_intercom)->get_settings().floor_call_ringtone;" - update_interval: 10s + update_interval: 1s set_action: - tc_bus.update_setting: type: ringtone_floor_call @@ -60,12 +57,11 @@ number: - platform: template name: "Ringtone: Door Call" - optimistic: true min_value: 0 max_value: 12 step: 1 lambda: !lambda "return id(tc_bus_intercom)->get_settings().door_call_ringtone;" - update_interval: 10s + update_interval: 1s set_action: - tc_bus.update_setting: type: ringtone_door_call @@ -73,12 +69,11 @@ number: - platform: template name: "Ringtone: Internal Call" - optimistic: true min_value: 0 max_value: 12 step: 1 lambda: !lambda "return id(tc_bus_intercom)->get_settings().internal_call_ringtone;" - update_interval: 10s + update_interval: 1s set_action: - tc_bus.update_setting: type: ringtone_internal_call