1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add repeat action for automations (#2538)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Oxan van Leeuwen
2021-11-10 19:30:07 +01:00
committed by GitHub
parent 15f9677d33
commit d8e33c5a69
3 changed files with 62 additions and 0 deletions

View File

@@ -173,3 +173,11 @@ sensor:
uart_id: uart2
co2:
name: CO2 Sensor
script:
- id: automation_test
then:
- repeat:
count: 5
then:
- logger.log: "looping!"