I am new to Home assistant so not 100% on the answer but if you have a groups.yaml file i dont think you need to include the line
group:
at the top of the file.
have a look through this page https://home-assistant.io/cookbook/
I found the other users configuration files great to see how thing are done in Home assistant.
matrum and mediaspelare are indented one level too much, they should be on the same level as default_view. Try removing two spaces in front of them and everything underneath each group.
homeassistant:
# Name of the location where Home Assistant is running
name: Järnvägsgatan
# Location required to calculate the time the sun rises and sets
latitude: !Secret
longitude: !Secret
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 42
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Stockholm
# Show links to resources in log and frontend
# introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Uncomment this to add a password (recommended!)
api_password: !Secret
# Uncomment this if you are using SSL or running in Docker etc
base_url: !Secret
# Checks for available updates
updater:
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time.
history:
# View all events in a logbook
logbook:
# Track the sun
sun:
# Weather Prediction
sensor:
platform: yr
monitored_conditions:
- temperature
- symbol
# Text to speech
tts:
platform: google
language: 'sv'
group: !include groups.yaml
vera:
vera_controller_url: http://192.168.1.210:3480/
exclude: [11, 19, 21, 41, 48, 100, 101, 96, 98, 97, 94, 58, 64, 61, 103]
#lights: [9, 13, 15, 17, 93]
media_player:
platform: samsungtv
host: 192.168.1.79
Do I have to include all my devices in different groups? Right now I have a couple of devices that isn’t placed in a group. Could that be the cause of the problem?
In the Media-Player-Section and the “Matrum”-Section you have “Name” instead of “name”. This could be the solution. I changed it in my Setup to “Name” and got a bunch of errors
I have the same issue with groups and I can see above that it was some syntax errors. Now that I have tried everything from the above solutions Im out of ideas. So now I need your help!
To minimize the risk of indentation errors I started to write group config in the configuration.yaml file instead. The sensor name is taken from the state development tools left column. The error I always get when running Check configuration:
Configuration invalid.CHECK CONFIG
Testing configuration at /config
2017-09-18 22:29:11 INFO (MainThread) [homeassistant.setup] Setting up http
2017-09-18 22:29:11 INFO (MainThread) [homeassistant.setup] Setting up recorder
...
2017-09-18 22:29:11 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2017-09-18 22:29:11 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
Failed config
group:
nere: [source /config/configuration.yaml:65]
enteties: [source /config/configuration.yaml:67]
- sensor.rokdetektor_smoke
name: Nere
General Errors:
- Setup failed for group: Invalid config.
- Unable to setup dependencies of script. Setup failed for dependencies: group
- Setup failed for script: Could not setup all dependencies.
- Unable to setup dependencies of automation. Setup failed for dependencies: group
- Setup failed for automation: Could not setup all dependencies.
Successful config (partial)
group:
Can someone tell me what I am doing wrong? I am running hassio version 0.53.1.