I’m trying to simply my plant watering reminder by having one automation to check varios plants’ soil moistures and broadcast a message specific to that plant.
When I run the automation manually, it reaches the “choose” function but never triggers.
I’ve set the threshold for one plant to below 50 to ensure that that conditon is true, but it still never fires.
WOuld someone mind poiting out what I’ve done wrong?
id: '1671341133008'
alias: Plants watering
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.kitchen_peace_lily_soil_moisture
below: 50
id: peace_lily
- platform: numeric_state
entity_id: sensor.theatre_plants_soil_moisture
below: 25
id: theatre_plants
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: peace_lily
sequence:
- service: tts.cloud_say
data:
entity_id: media_player.kitchen_display
message: The peace lily in the kitchen needs watering
- service: tts.cloud_say
data:
entity_id: media_player.alarm_clock
message: The peace lily in the kitchen needs watering
- conditions:
- condition: trigger
id: theatre_plants
sequence:
- service: tts.cloud_say
data:
entity_id: media_player.kitchen_display
message: The plants in the theatre need watering
- service: tts.cloud_say
data:
entity_id: media_player.alarm_clock
message: The plants in the theatre need watering
mode: restart