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

Light Groups making me crazy

$
0
0

@atmasphere wrote:

Can you have lights and switches in the same group? I have tried including both sets of switches in my light group as per this config but keep crapping out:

light:
  - platform: group
    name: Kitchen
    entities:
      - light.kitchen_island_chandelier
      - light.kitchen_main_lights
  - platform: switch    
    name: Family Room
    entities:
      - switch.family_room_front
      - switch.family_room_rear
  - platform: group
    name: Master
    entities:
      - light.master_bedroom_accent_lights
      - light.master_bedroom_main_lights      
  - platform: switch
    name: Basement
    entities:
      - switch.basement_craft
      - switch.basement_play          
  - platform: group    
    name: Office
    entities:
      - light.office_desk
      - light.office_lamp_1  
      - light.office_lamp_2  
      - light.office_overhead_1
      - light.office_overhead_2
      - light.office_overhead_3
  - platform: group 
    name: Office Overhead
    entities:
      - light.office_overhead_1
      - light.office_overhead_2
      - light.office_overhead_3        
  - platform: group    
    name: Desk Lamp 
    entities:
      - light.office_desk
  - platform: group    
    name: Office Chair
    entities:
      - light.office_lamp_1  
      - light.office_lamp_2  

My switches are zwave switches linked through Wink for the moment. The other lights are a combo of Lutron and Hue and all seem to work.

Not sure I know how to solve the error presenting in the log:

2020-03-24 13:25:25 ERROR (MainThread) [homeassistant.config] Invalid config for [light.group]: Entity ID 'switch.family_room_front' does not belong to domain 'light' for dictionary value @ data['entities']. Got ['switch.family_room_front', 'switch.family_room_rear']. (See /config/configuration.yaml, line 74). Please check the docs at https://www.home-assistant.io/integrations/group
2020-03-24 13:25:25 ERROR (MainThread) [homeassistant.config] Invalid config for [light.group]: Entity ID 'switch.basement_craft' does not belong to domain 'light' for dictionary value @ data['entities']. Got ['switch.basement_craft', 'switch.basement_play']. (See /config/configuration.yaml, line 84). Please check the docs at https://www.home-assistant.io/integrations/group

kitchen main and master bedroom main are on lines 74 and 84 as noted. Not sure why

Posts: 13

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



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