Hi,
Here’s my config file:
script:
wetbasement:
sequence:
- condition: state
entity_id: "binary_sensor_basement_water_leak_sensor"
to: "on"
- service: tts.google_say
entity_id: media_player.basement_speaker
data_template:
message: "Water detected in basement!"
cache: false
basementloop:
sequence:
- condition: state
entity_id: "binary_sensor_basement_water_leak_sensor"
to: "on"
- delay:
seconds: 10
- service: script.wetbasement
I keep getting this error: Invalid config for [script]: [condition] is an invalid option for [script]. Check: script->script->wetbasement->sequence->0->condition. (See /config/configuration.yaml, line 111). Please check the docs at https://home-assistant.io/components/script/
I’ve checked and doublechecked spacing and even typed everything out again. Still getting that same error. Can someone assist me with this?