1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Script mode fix (#1238)

This commit is contained in:
Jesse Hills
2020-08-07 03:08:48 +12:00
committed by GitHub
parent 009cea1abf
commit fd6ac529fb
3 changed files with 20 additions and 7 deletions

View File

@@ -292,6 +292,21 @@ text_sensor:
script:
- id: my_script
mode: single
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_queued
mode: queued
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_parallel
mode: parallel
max_runs: 2
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
- id: my_script_restart
mode: restart
then:
- lambda: 'ESP_LOGD("main", "Hello World!");'
@@ -316,5 +331,3 @@ interval:
- logger.log: "Interval Run"
display: