Hey every body I have set up this automation to notify me if the humidity is above 50%. However the automation wont trigger. Whats wrong?
alias: Office humidity high
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.office_humidity
above: '50'
for:
hours: 0
minutes: 2
seconds: 0
condition:
- condition: state
entity_id: binary_sensor.dw_office
state: 'off'
action:
- service: media_player.volume_set
data:
volume_level: 0.55
target:
entity_id: media_player.echo_dot_office
- service: notify.alexa_media_echo_dot_office
data:
message: >-
Humidity is too high. Please open a window.
data:
type: tts
mode: single