Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Lamp in HA is off and in HUE bridge it's on

$
0
0

@jurrien wrote:

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:
Untitled Diagram

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!

Posts: 9

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>