Remove dimming timer for now
The funcionality isn't completed.
This commit is contained in:
@@ -824,8 +824,6 @@ api:
|
|||||||
|
|
||||||
if (media_duration > 0)
|
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_current", media_position);
|
||||||
id(disp1).set_component_value("prg_total", media_duration);
|
id(disp1).set_component_value("prg_total", media_duration);
|
||||||
id(disp1).send_command_printf("prg_timer.en=%i", (state == "playing") ? 1 : 0);
|
id(disp1).send_command_printf("prg_timer.en=%i", (state == "playing") ? 1 : 0);
|
||||||
@@ -1690,16 +1688,16 @@ number:
|
|||||||
optimistic: true
|
optimistic: true
|
||||||
|
|
||||||
##### dimming-timeout #####
|
##### dimming-timeout #####
|
||||||
- platform: template
|
#- platform: template
|
||||||
name: ${device_name} Dimming timeout
|
# name: ${device_name} Dimming timeout
|
||||||
id: dimming_timeout
|
# id: dimming_timeout
|
||||||
entity_category: config
|
# entity_category: config
|
||||||
min_value: 0
|
# min_value: 0
|
||||||
max_value: 60
|
# max_value: 60
|
||||||
initial_value: 15
|
# initial_value: 15
|
||||||
step: 1
|
# step: 1
|
||||||
restore_value: true
|
# restore_value: true
|
||||||
optimistic: true
|
# optimistic: true
|
||||||
|
|
||||||
select:
|
select:
|
||||||
- id: wakeup_page_name
|
- id: wakeup_page_name
|
||||||
|
|||||||
Reference in New Issue
Block a user