#Shut down when temperatur is under setting

1 messages · Page 1 of 1 (latest)

reef plinth
#

When i try this it shuts my smartplug to off, even now when it +5 degrees outside, is it not possibly to test this kind of automations before it happens?

description: ""
triggers:

  • trigger: time_pattern
    hours: /1
    conditions:
  • condition: state
    entity_id: sensor.nibe_bt1_outdoor_temperature
    attribute: unit_of_measurement
    state: "-10"
    for:
    hours: 0
    minutes: 30
    seconds: 0
    actions:
  • action: switch.turn_off
    metadata: {}
    data: {}
    target:
    entity_id: switch.outlet
    mode: single