Make a switch to a light

Hi there,
I added this to my light.yaml:

- platform: group
  name: Beleuchtung Wohnzimmer
  entities:
      - light.s2l_deckenlampe_couch
      - light.wandlampe_couch
      - light.s2l_durchgang
      - light.s2l_beleuchtung_vitrine
      - light.s2l_hobelbank
      - light.s2l_deckenlampe_esszimmer

And added also this to change the switches to lights:

#Change switches to lights (s2l)
#DG1
- platform: switch
  name: s2l_deckenlampe_couch
  entity_id: switch.deckenlampe_couch
- platform: switch
  name: s2l_durchgang
  entity_id: switch.durchgang
- platform: switch
  name: s2l_beleuchtung_vitrine
  entity_id: switch.beleuchtung_vitrine_on_off
- platform: switch
  name: s2l_hobelbank
  entity_id: switch.hobelbank
- platform: switch
  name: s2l_deckenlampe_esszimmer
  entity_id: switch.deckenlampe_esszimmer

Can anyone tell me, why Beleuchtung Vitrine doesnt turn on, when I pull Beleuchtung Wohnzimmer on?
All switches are shellys, Beleuchtung vitrine is an osram smart+ plug…
The entity light.s2l_beleuchtung_vitrine appereas in lovelace and if I turn it on, the switch toggle is also on / off.

But if I activate the group this one entity dont turn on…

Hi,

I have a fan that is detected as a light. If I want to change light to switch, is this correct
switch:

  • platform: light
    name: test light
    entity_id: light.livingfan

No, wrong platform. Look at the examples above

I read through the example above, they are detected as switch and want to make it as light.
For my case, I was detected as light but want to be detected a switch

Use a template switch. What you’re asking isn’t really matching this topic.

image
image
I have a light that i can switch with a toggle, however if i turn it of it gets these weird switch icons.
How can I resolve this so it only has the toggle switch.

Add this under homeassistant:

homeassistant:
  customize_domain:
    light:
      assumed_state: false

Works! Thanks!

After this my Google Assistant turns off all my lights!

I am trying to convert tuya wall dimmer from switches to a light entity but even after following the steps here, it does not appear as a light entity. How can I add it as a light entity?

It doesn’t change it from a switch to a light, it creates a new light entity that is side by side to your switch. Look at your light entities for a new entity. Your existing switch will still exist.

I know that already but I checked my lights and it doesn’t appear.

share the configuration you’re using to do this

After updating home assistant it seems to show up and work. Not sure what was wrong.