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:
@@ -173,3 +173,11 @@ sensor:
|
||||
uart_id: uart2
|
||||
co2:
|
||||
name: CO2 Sensor
|
||||
|
||||
script:
|
||||
- id: automation_test
|
||||
then:
|
||||
- repeat:
|
||||
count: 5
|
||||
then:
|
||||
- logger.log: "looping!"
|
||||
|
||||
Reference in New Issue
Block a user