Remove dimming timer for now
The funcionality isn't completed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user