Once i add light groups the whole thing fails

I am having a problem that once i add light groups to home assistant i can use the light groups to control everything for about one min maybe two but then when i flip the switch of set one up as a single light i can no longer control the group or individual device.it renders the whole thing unusable. i have pasted my config file maybe there is a problem in that. i have tried running this on a pi, on a VM, in docker but i always get the same result. please if you all could help it would be greatly appreciated.

edit that is not exactly my config file. Here is the file.

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

frontend:
  themes: !include_dir_merge_named themes
weather:
  - platform: darksky
    api_key:

august:
  login_method: phone
  username:
  password:


input_boolean:
  ryland_is_home:
    name: ryland is home
    initial: on
    icon: mdi:account
  shaun_is_home:
    name: shaun is home
    initial: on
    icon: mdi:account
  trevor_is_home:
    name: trevor is home
    initial: on
    icon: mdi:account
  house_guest:
    name: house Guest
    initial: on
    icon: mdi:account
  home_occupied:
    name: occuped
    initial: on
    icon: mdi:account



yeelight:
  devices:
    192.168.1.7: 
      name: rylands room 1
    192.168.1.11: 
      name: rylands room 2
    192.168.1.28:  
      name: hall
    192.168.1.12:
      name: living room 1
    192.168.1.13:
      name: living room 2
    192.168.1.6:
      name: living room 3
    192.168.1.4:
      name: laundry room 1
    192.168.1.8:
      name: laundry room 2
    192.168.1.14:
      name: shauns room 1
    192.168.1.22:
      name: shauns room 2
    192.168.1.38:
      name: bathroom 1
    192.168.1.37:
      name: bathroom 2
    192.168.1.3:
      name: kitchen 1
    192.168.1.10:
      name: kithcen 2
    192.168.1.36:
      name: dining room 1
    192.168.1.41:
      name: dining room 2
    192.168.1.35:
      name: rylands bathroom 1
    192.168.1.34:
      name: rylands bathroom 2
    192.168.1.40:
      name: trevors Room 1
    192.168.1.39:
      name: trevors Room 2

light:
  - platform: group
    name: house
    entities:
      - light.bathroom_1
      - light.bathroom_2
      - light.dining_room_1
      - light.dining_room_2
      - light.kitchen_1
      - light.kithcen_2
      - light.laundry_room_1
      - light.laundry_room_2
      - light.living_room_1
      - light.living_room_2
      - light.living_room_3
      - light.rylands_bathroom_1
      - light.rylands_bathroom_2
      - light.rylands_room_1
      - light.rylands_room_2
      - light.shauns_room_1
      - light.shauns_room_2
      - light.hall
      - light.trevors_room_1
      - light.trevors_room_2
  - platform: group
    name: living room
    entities:
      - light.living_room_1
      - light.living_room_2
      - light.living_room_3
  - platform: group
    name: rylands room
    entities:
      - light.rylands_bathroom_1
      - light.rylands_bathroom_2
      - light.rylands_room_1
      - light.rylands_room_2
  - platform: group
    name: bathroom room
    entities:
      - light.bathroom_1
      - light.bathroom_2
  - platform: group
    name: dining room
    entities:
      - light.dining_room_1
      - light.dining_room_2
  - platform: group
    name: kitchen
    entities:
      - light.kitchen_1
      - light.kithcen_2
  - platform: group
    name: laundry room
    entities:
      - light.laundry_room_1
      - light.laundry_room_2
  - platform: group
    name: living room
    entities:
      - light.living_room_1
      - light.living_room_2
      - light.living_room_3
  - platform: group
    name: shauns room
    entities:
      - light.shauns_room_1
      - light.shauns_room_2
  - platform: group
    name: trevors room
    entities:
      - light.trevors_room_1
      - light.trevors_room_2

Mind the login credentials in your post, please delete those and please past code as preformatted text.

Remove the underscore and numbers

platform: group

is the correct syntax.

Whatever made you put the extra?

I would also generate a new API key for darksky and change your password for August and for any other account that uses that same password (if any).

Also, using secrets would be a good idea to prevent accidentally leaking credentials in the future:

1 Like