cancel
Showing results for 
Search instead for 
Did you mean: 

Conditions ignored

madCase
Community Member

Hey,

i "wrote" the following automation and the conditions are ignored:

 

metadata:
name: Luftbefeuchter an, wenn unter 55 & und jemand im Wohnzimmer ist NEU
description: Turn on the humidifier in the living room when the humidity drops too low
automations:
- starters:
- type: device.state.HumiditySetting
device: Das Wohnzimmer - EG Wohnzimmer
state: humidityAmbientPercent
lessThan: 55
condition:
type: or
# "OR" together two or more conditionals
conditions:
- type: device.state.OnOff
state: on
# [available operators: is, isNot]
is: true
device: Auf Holzkommode Neu - EG Wohnzimmer
- type: device.state.OnOff
state: on
# [available operators: is, isNot]
is: true
device: Lampe Sofa - EG Wohnzimmer
- type: device.state.OnOff
state: on
# [available operators: is, isNot]
is: true
device: Pilzlampe - EG Wohnzimmer

actions:
- type: device.command.OnOff
on: true
devices: Luftbefeuchter Wohnzimmer - EG Wohnzimmer
- type: assistant.command.Broadcast
message: Der Luftentfeuchter wurde automatisch eingeschaltet, da die Luftfeuchtikeit unter 55 % gefallen und du dich im Wohnzimmer aufhälst
devices: EG Wohnzimmer Display - EG Wohnzimmer

 

Any Advise? The humidifier should only go if one of the above mentioned lights is on and the humidity falls under 55 %. At the moment the automation starts also when lights are of !

 

Thank you!!!

0 REPLIES 0