Hi there,
I have an automation, which should turn off a Shelly Plug S during a time slot, when the power consumption, measured by this Shelly Plug S, is dropping below a value of 70 W.
Unfortunately, the automation is never triggered to turn the Shelly plug off. I am testing right now and have a power consumption in the device dashboard shown as 46 W, so it should be triggered and executed. The time slot condition is deactivated right now.
Here is the automation code:
id: '1684532334401'
alias: Multimedia Wohnzimmer nachts ausschalten
description: >-
Schaltet die Steckdose Multimedia aus, sobald die Leistungsaufnahme unter 70 W
zwischen 23 Uhr und 8 Uhr fällt.
trigger:
- type: power
platform: device
device_id: a0902aea2e995f24d3b0f3d2e68c90ba
entity_id: sensor.shelly_plug_s_multimedia_wohnzimmer_power
domain: sensor
below: 70
condition:
- condition: time
after: '00:23:00'
before: '00:08:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
enabled: false
action:
- type: turn_off
device_id: a0902aea2e995f24d3b0f3d2e68c90ba
entity_id: switch.shelly_plug_s_multimedia_wohnzimmer
domain: switch
mode: single
What am I doing wrong here ?
Thanks in advance for your feedback.