From 7ba90fe741dcf282390cbb6c6f0b9fea8357c52d Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Tue, 12 Sep 2023 20:09:04 +0200 Subject: [PATCH] Remove dimming timer for now The funcionality isn't completed. --- nspanel_esphome.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index d90e319..7e519fc 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -824,8 +824,6 @@ api: if (media_duration > 0) { - id(disp1).set_component_text_printf("time_current", "%i", media_position); - id(disp1).set_component_text_printf("time_total", "%i", media_duration); id(disp1).set_component_value("prg_current", media_position); id(disp1).set_component_value("prg_total", media_duration); id(disp1).send_command_printf("prg_timer.en=%i", (state == "playing") ? 1 : 0); @@ -1690,16 +1688,16 @@ number: optimistic: true ##### dimming-timeout ##### - - platform: template - name: ${device_name} Dimming timeout - id: dimming_timeout - entity_category: config - min_value: 0 - max_value: 60 - initial_value: 15 - step: 1 - restore_value: true - optimistic: true + #- platform: template + # name: ${device_name} Dimming timeout + # id: dimming_timeout + # entity_category: config + # min_value: 0 + # max_value: 60 + # initial_value: 15 + # step: 1 + # restore_value: true + # optimistic: true select: - id: wakeup_page_name