Hi,
long time lurker, first time poster.
I am stuck with one automation my wife requested. We have 2 Ikea tradfri led drivers in our hallway:
- One controls small top lights YTBERG Osvetlenie skrine, biela/stmievateľné - IKEA
- The other controls inner closet lights with integrated sensor ÖVERSIDAN Sv. pásik LED do skrin, snímač, stmievateľné biela, 96 cm - IKEA
The automation is supposed to do: when closet doors open, inner lights turn on and top lights turn on.
Achieved so far: both led drivers connected to HA. I can turn on/off and dimm top lights. Inner lights show as turned on even if they are actually off. I suppose, that their driver is ON and uses its inner logic.
I tried to create a basic automation:
description: ""
mode: single
trigger:
- platform: device
type: turned_on
device_id: 2504bd7c98e931f9f70ad4062184a5da
entity_id: df7b8967679ea028a2cbcdfe9332a849
domain: light
condition: []
action:
- type: turn_on
device_id: 3c0cae5a7a81433347af8fa1902ed6f6
entity_id: 95a13a7cd3c536fcd9c9e31c6cc074fe
domain: light
but this won’t work, because HA sees closet inner light as ON when corresponding LED driver is turned on even though its lights are off.
The backup plan is to use door sensors on all closet doors, but I would like not to use this solution.
Could you, please, help me?