I just started with Home Assistant so please excuse me if I don’t know the specifiek names for certain parts.
I have the following situation:
When I switch the wall switch the shelly sends a signal to HA which send a toggle message to HUE bridge to get the lamp on.
The problem is that in HA the switch is off and in HUE the lamp on. Does that has something to do with the toggle of the light instead of putting it off or on?
Users can switch the light on via the wall switch which works via Shelly -> HA -> HUE or use the HUE app on their mobile or use the remote from hue.
Now I have this automation:
- id: '1579187816097'
alias: Licht Slaapkamer J&J
description: ''
trigger:
- entity_id: switch.shelly_shsw_1_b96815
from: 'off'
platform: state
to: 'on'
- entity_id: switch.shelly_shsw_1_b96815
from: 'on'
platform: state
to: 'off'
condition: []
action:
- alias: ''
data:
brightness: 255
kelvin: 2700
entity_id: light.slaapkamer_j_j_2
service: light.toggle
Is there a way to get the switch in HA synced with the in HUE? Or do I need to create a different kind of automation?
Thanks in advance!