HI,
I am defining a template cover. This basically works fine, but if I include the wait_for_trigger bit in the definition
open_cover:
- variables:
sunscreener: "{{is_state('input_boolean.blind_sunscreener_kids_auto', 'on')}}"
- service: cover.open_cover
target:
entity_id: cover.blind_kids
- wait_for_trigger: <--------------- THIS ONE
- platform: numeric_state
entity_id: sensor.blind_kids_power
below: 5
for: "0:00:01"
timeout: "0:01:00"
- if:
- "{{sunscreener}}"
then:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.blind_sunscreener_kids_auto
I then get a crazy error in the logs:
2023-08-09 16:22:29.592 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity s
2023-08-09 16:22:29.666 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity e
2023-08-09 16:22:29.693 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity n
2023-08-09 16:22:29.750 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity s
2023-08-09 16:22:29.763 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity o
2023-08-09 16:22:29.774 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity r
2023-08-09 16:22:29.813 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity .
2023-08-09 16:22:29.882 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity b
2023-08-09 16:22:29.940 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity l
2023-08-09 16:22:29.984 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity i
2023-08-09 16:22:30.048 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity n
2023-08-09 16:22:30.118 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity d
2023-08-09 16:22:30.160 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity _
2023-08-09 16:22:30.222 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity k
2023-08-09 16:22:30.276 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity i
2023-08-09 16:22:30.284 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity d
2023-08-09 16:22:30.287 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity s
2023-08-09 16:22:30.289 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity _
2023-08-09 16:22:30.290 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity p
2023-08-09 16:22:30.291 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity o
2023-08-09 16:22:30.293 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity w
2023-08-09 16:22:30.295 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity e
2023-08-09 16:22:30.300 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Blind Kids' trigger: In 'numeric_state' condition: unknown entity r
Should this be a legal config? Is it a bug? Or have I messed something up? Removing the wait_for_trigger stops the error.
Thanks