I recently created the following to turn on a bathroom fan when the humidity exceeds 60. The fan doesn’t turn on. When checking the trace timeline it shows an error “Stopped because an error was encountered at 11 January 2023 at 07:31:00 (runtime: 0.04 seconds) 44”
Any ideas - it is a very simple automation?
alias: Bathroom Fan ON
description: ""
trigger:
- platform: time_pattern
minutes: /1
condition:
- condition: numeric_state
entity_id: sensor.bathroom_temperature_sensor_humidity_sensor_2
above: 60
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.landing_switch_switch1
mode: single