I’m trying to turn on a fan when the temperature reaches a certain point. I have a sensor that works via MQTT, which has been reporting the temperature consistently. I’ve tried triggering the automation using a numeric state trigger as well as an MQTT trigger. However, the automation fails to trigger when the temperature crosses the threshold (I’ve also tested using Developer Tools>States). Any thoughts?
alias: Fan - Game Room
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.game_room_temperature
above: '80'
condition: []
action:
- device_id: 44ca68a152f01e0d271b1e258dee8e95
domain: fan
entity_id: fan.game_room
type: turn_on
mode: single
alias: Fan - Game Room MQTT
description: ''
trigger:
- platform: mqtt
topic: esp/dht/temperature
payload: '> 80'
condition: []
action:
- service: fan.turn_on
target:
entity_id: fan.game_room_vent
mode: single
Want to automate my solar inverter cooling. It present’s internal temperature by itself and fan is connected to smart plug. I can’t get it working. Any clue why?