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

Light group in groups.yaml does not appear in lovelace

$
0
0

@Eknem wrote:

Hi there. I had A few light groups in the configuration.yaml

  - platform: group
    name: Keuken lichten
    entities:
      - light.tradfri_keuken_plafond_1
      - light.tradfri_keuken_plafond_2
      - light.tradfri_keuken_plafond_3
  - platform: group
    name: Woonkamer lichten
    entities:
      - light.hue_bloom_tv_links
      - light.hue_bloom_tv_rechts
      - light.lightstrip_radiator

This worked nice. If I created a new light card in lovelace I could select the groups as an entity.

light.woonkamer_lichten

But then I tried to move these groups to groups.yaml. Trouble started. First of all I needed to change te format because i was getting errors.

light:
  name: Keuken lichten
  entities:
    - light.tradfri_keuken_plafond_1
    - light.tradfri_keuken_plafond_2
    - light.tradfri_keuken_plafond_3

  name: Woonkamer lichten
  entities:
    - light.hue_bloom_tv_links
    - light.hue_bloom_tv_rechts
    - light.lightstrip_radiator

But now I can not select these groups as an entity in lovelace. Can someone explain to me what I’m doing wrong? I can not find any documentation about it.

Posts: 2

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>