@gromar wrote:
I have smart switch Blitzwolf SPH6 with Tasmota 8.1 firmware connected to dishwasher.
My goal is to turn it off after 5 min. if there is power consumption below 5W for 5 minutes. So i wrote automation:- alias: 'Wyłącz zmywarkę po spełnieniu określonych warunków' trigger: - platform: numeric_state entity_id: sensor.gniazdko_kuchnia_zmywarka_energy_power below: 5 for: 00:05:00 condition: - condition: state entity_id: switch.gniazdko_kuchnia_zmywarka state: 'on' for: 00:02:00 action: - service: switch.turn_off entity_id: switch.gniazdko_kuchnia_zmywarka
Unfortunatelly if the switch is turned on manually it doesn’t turn off after 5 minutes (I checked history of sensor.gniazdko_kuchnia_zmywarka_energy_power and it shows 1-2W for 5 minutes period and nothing happens - it’s still on, logs don’t show anything). What am I missing or doing wrong?
Posts: 2
Participants: 2