Replies: 4 comments 3 replies
-
|
Hi there , - platform: template
id: timer_ringing
optimistic: true
internal: true
restore_mode: ALWAYS_OFF
on_turn_on:
- lambda: id(led).turn_on().set_brightness(1.0).perform();
- delay: 15min
- switch.turn_off: timer_ringing
on_turn_off:
- media_player.stop
```
|
Beta Was this translation helpful? Give feedback.
-
|
glad you got it sorted 👍 |
Beta Was this translation helpful? Give feedback.
-
|
Continuing with timer... timer_started goes to script timer_ending which has a wait until 10 sec then go to time_remaining age. I want it to go to the time_remaining_page and stay there until countdown is finished. I can't seem to get to the time_remaining_page and stay there throughout the whole thing. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Hi there , - id: timer_ending
then:
- if:
condition:
- lambda: return (id(time_remaining_0).state => "0:00:00");
- script.stop: saver_enabled
- display.page.show: time_remaining_page
- component.update: s3_box_lcd
```
I think that should be close to what you need. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to set the sbox3 such that when the timer ends the beeps only go off for x # of times, (or for a set time after). I have set a repeat/count in front of the timer_started_external script homeassistant.service but that loops endlessly.
Any hints.
I know I can yell 'timer cancel' but I would like even to not have to do that.
This is fabulous by the way. First time I have had an understanding of how esphome works.
Beta Was this translation helpful? Give feedback.
All reactions