Good day people. I am very new to Home Assistant and I can’t figure out something that should be simple. I am trying to make an automation that will grab temperature data from OpenWeatherMap, and if the temperature is freezing (Below 0 C) then it would turn on the switch that turns on my dog’s heated water bowl. Before someone asks, my dog is a husky and enjoys being outside when it’s freezing. I built an automation with the GUI in home assistant but it doesn’t look like it’s working.
Here is the YAML
alias: Dog Water ON
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.openweathermap_feels_like_temperature
below: '10'
attribute: unit_of_measurement
condition: []
action:
- type: turn_on
device_id: b833e450a964822143cb7b99a3f203f5
entity_id: switch.garden_light_socket_1
domain: switch
metadata:
secondary: false
mode: single