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

Device turns on directly but not in a scene?

$
0
0

I have several TP-Link switches (I can’t wait to replace them though!). When I turn them all on via a scene, one of them doesn’t turns on. However, if I turn them all one by one or even all at once, they all turn on normally.

Why do you think that is?

Let me attach the relevant code and screenshots to explain this better. I am new to this community (installed HA a few days ago, yay!), so apologies for the beginner question. I configured this all via the UI, so it’s all probably fairly standard.

This is my scene (code and screenshot):

  name: All Lights On
  entities:
    switch.bed_light:
      friendly_name: Bed Light
      state: "on"
    light.living_room_lamp:
      supported_color_modes:
        - brightness
      friendly_name: Living Room Lamp
      supported_features: 32
      color_mode: brightness
      brightness: 97
      state: "on"
    switch.entrance_lamp: # This is the one that fails
      friendly_name: Entrance Mini Light
      state: "off"

If I turn it on with the scene, the Entrance Mini Light switch won’t turn on or off.

However, if I turn it on independently or through this card in a dashboard, it does turn on and off normally:

      - type: vertical-stack
        cards:
          - type: entities
            entities:
              - scene.sleep
              - scene.sunset
            title: Scenes
            state_color: false
          - type: entities
            entities:
              - switch.bed_light
              - switch.entrance_lamp
              - light.living_room_lamp
            title: Lights
            state_color: true

I recently assigned static IPs to these devices in my router config.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 102810

Trending Articles



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