home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.74k stars 29.99k forks source link

Configuration invalid for Groups.yaml #34389

Closed MarkHofmann11 closed 4 years ago

MarkHofmann11 commented 4 years ago

The problem

Configuration invalid Invalid config for [group]: [control] is an invalid option for [group]. Check: group->group->broadcast->control. (See C:\Users\Home Assistant\AppData\Roaming.homeassistant\configuration.yaml, line 1410).

Environment

Problem-relevant configuration.yaml

The end of my configuration.yaml that calls groups.yaml, which is line 1410.

shell_command:
  restart_adb: 'd:\BatchFiles\adb.bat'

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

groups.yaml

default_view:
  name: Home
#  view: yes
  entities:
    - group.weather_pws
    - group.ecobeethermostat
    - group.ecobeeclimate
#    - group.webcams
    - group.nest_protect_basement
    - group.nest_protect_firstfloor
    - group.nest_protect_secondfloor
    - group.security
    - group.all_lights
    - group.konnected_all_sensors
    - camera.driveway_camera
    - camera.front_walkway_cam
    - camera.webcam1
    - camera.webcam2
    - group.weather_forecast

firstfloor_dashboard:
  name:  1st Floor
#  view: yes
  entities:
    - group.ecobeethermostat
    - group.ecobeeclimate
    - group.nest_protect_firstfloor
    - group.konnected_firstfloor
    - group.switches_firstfloor
    - group.security

secondfloor_dashboard:
  name:  2nd Floor
#  view: yes
  entities:
    - group.nest_protect_secondfloor
    - light.marks_office_light
    - group.switches_secondfloor

basement_dashboard:
  name:  Basement
#  view: yes
  entities:
    - group.nest_protect_basement
    - group.konnected_basement
    - group.data_center

outside_dashboard:
  name:  Outside
#  view: yes
  entities:
    - group.switches_outside
    - camera.webcam1
    - camera.webcam2
    - camera.driveway_camera
    - camera.front_walkway_cam

weather_dashboard:
  name: Weather
#  view: yes
  icon: mdi:weather-partlycloudy
  entities:
    - group.weather_pws
    - group.weather_forecast
    - group.weatherconditions
    - group.weather_forecast
    - group.ecobeeweather

webcam_dashboard:
  name: Webcams
#  view: yes
  icon: mdi:webcam
  entities:
    - group.webcams

security_dashboard:
  name: Security
#  view: yes
  icon: mdi:shield-lock-outline
  entities:
    - group.security
    - group.konnected_all_sensors

location_dashboard:
  name: Location Tracking
#  view: yes
  icon: mdi:crosshairs-gps
  entities:
    - group.life360

ups_dashboard:
  name: APC UPS
#  view: yes
  icon: mdi:car-battery
  entities:
    - group.apc_ups1
    - group.apc_ups2
    - group.apc_ups3
    - group.apc_ups4
    - group.apc_ups5

switches_dashboard:
  name: Switches
#  view: yes
  icon: mdi:toggle-switch
  entities:
    - group.all_switches

scripts_dashboard:
  name: Scripts
#  view: yes
  icon: mdi:script-text-outline
  entities:
    - group.all_scripts
    - group.all_automations
    - scene.daylight

settings_dashboard:
  name: Settings
#  view: yes
  icon: mdi:settings
  entities:
    - group.themeselection
    - group.system_info

#groups:

data_center:
  name: Data Center
  entities:
    - sensor.data_center_temperature
    - sensor.data_center_humidity

apc_ups1:
  name: APC UPS-1
  entities:
    - sensor.ups1_name
    - sensor.ups1_type
    - sensor.ups1_location
    - sensor.ups1_load_percentage
    - sensor.ups1_battery_capacity
    - sensor.ups1_runtime_remaining
    - sensor.ups1_battery_temperature
    - sensor.ups1_battery_status

apc_ups2:
  name: APC UPS-2
  entities:
    - sensor.ups2_name
    - sensor.ups2_type
    - sensor.ups2_location
    - sensor.ups2_load_percentage
    - sensor.ups2_battery_capacity
    - sensor.ups2_runtime_remaining
    - sensor.ups2_battery_temperature
    - sensor.ups2_battery_status

apc_ups3:
  name: APC UPS-3
  entities:
    - sensor.ups3_name
    - sensor.ups3_type
    - sensor.ups3_location
    - sensor.ups3_load_percentage
    - sensor.ups3_battery_capacity
    - sensor.ups3_runtime_remaining
    - sensor.ups3_battery_temperature
    - sensor.ups3_battery_status

apc_ups4:
  name: APC UPS-4
  entities:
    - sensor.ups4_name
    - sensor.ups4_type
    - sensor.ups4_location
    - sensor.ups4_load_percentage
    - sensor.ups4_battery_capacity
    - sensor.ups4_runtime_remaining
    - sensor.ups4_battery_temperature
    - sensor.ups4_battery_status

apc_ups5:
  name: APC UPS-5
  entities:
    - sensor.ups5_name
    - sensor.ups5_type
    - sensor.ups5_location
    - sensor.ups5_load_percentage
    - sensor.ups5_battery_capacity
    - sensor.ups5_runtime_remaining
    - sensor.ups5_battery_temperature
    - sensor.ups5_battery_status

system_info:
  name: System Info
  entities:
    - sensor.processor_use
    - sensor.memory_free
    - sensor.disk_use_percent_c
    - sensor.disk_use_percent_d
    - sensor.disk_use_c
    - sensor.disk_use_d
    - sensor.disk_free_c
    - sensor.disk_free_d
    - sensor.last_boot
    - sensor.memory_use
    - sensor.memory_use_percent
    - sensor.network_in_ethernet
    - sensor.network_out_ethernet
    - sensor.packets_in_ethernet
    - sensor.packets_out_ethernet
    - sensor.ipv4_address_ethernet

security:
  name: Security
  entities:
    - alarm_control_panel.home_alarm

life360:
  name: Life360
  entities:
    - device_tracker.mark_hofmann
    - sensor.life360_friendly_name_mark
    - sensor.life360_source_mark
    - sensor.life360_latitude_mark
    - sensor.life360_longitude_mark
    - sensor.life360_gps_accuracy_mark
    - sensor.life360_battery_mark
    - sensor.life360_address_mark
    - sensor.life360_at_loc_since_mark
    - sensor.life360_battery_charging_mark
    - sensor.life360_driving_mark
    - sensor.life360_last_seen_mark
    - sensor.life360_moving_mark
    - sensor.life360_raw_speed_mark
    - sensor.life360_speed_mark
    - sensor.life360_wifi_on_mark

konnected_all_sensors:
  name: Konnected
  entities:
    - binary_sensor.front_door
    - binary_sensor.garage_entry_door
    - binary_sensor.kitchen_sliding_door
    - binary_sensor.kitchen_windows
    - binary_sensor.family_room_windows
    - binary_sensor.dining_room_windows
    - binary_sensor.living_room_windows
    - binary_sensor.foyer_window
    - binary_sensor.1st_floor_bedroom_windows
    - binary_sensor.basement_windows
    - binary_sensor.basement_sliding_door
    - binary_sensor.foyer_motion_sensor

konnected_all_sensors_no_motion:
  name: Konnected (All Sensors - No Motion - Security Alarm)
  entities:
    - binary_sensor.front_door
    - binary_sensor.garage_entry_door
    - binary_sensor.kitchen_sliding_door
    - binary_sensor.kitchen_windows
    - binary_sensor.family_room_windows
    - binary_sensor.dining_room_windows
    - binary_sensor.living_room_windows
    - binary_sensor.foyer_window
    - binary_sensor.1st_floor_bedroom_windows
    - binary_sensor.basement_windows
    - binary_sensor.basement_sliding_door

konnected_firstfloor:
  name: Konnected (1st Floor)
  entities:
    - binary_sensor.front_door
    - binary_sensor.garage_entry_door
    - binary_sensor.kitchen_sliding_door
    - binary_sensor.kitchen_windows
    - binary_sensor.family_room_windows
    - binary_sensor.dining_room_windows
    - binary_sensor.living_room_windows
    - binary_sensor.foyer_window
    - binary_sensor.1st_floor_bedroom_windows
    - binary_sensor.foyer_motion_sensor
    - camera.garage_entry_camera

konnected_basement:
  name: Konnected (Basement)
  entities:
    - binary_sensor.basement_windows
    - binary_sensor.basement_sliding_door

switches_firstfloor:
  name: Switches (1st Floor)
  entities:
    - switch.outdoor_lamp_post
    - switch.outdoor_front_lights

switches_secondfloor:
  name: Switches (2nd Floor)
  entities:
    - switch.marks_office_salt_lamp_switch
    - switch.marks_office_m_light_switch
    - switch.alexs_room_light
    - camera.office_window_camera

switches_outside:
  name: Switches (Outside)
  entities:
    - switch.outdoor_lamp_post
    - switch.outdoor_front_lights

webcams:
  name: Webcams
  entities:
    - camera.webcam1
    - camera.webcam2
    - camera.driveway_camera
    - camera.front_walkway_cam
    - camera.office_window_camera
    - camera.garage_entry_camera

weatherconditions:
  name:  Weather Conditions
  entities:
    - sensor.dark_sky_summary
    - sensor.dark_sky_icon
    - sensor.dark_sky_temperature
    - sensor.dark_sky_humidity
    - sensor.dark_sky_pressure_hg
    - sensor.dark_sky_wind_speed
#    - sensor.dark_sky_wind_bearing
    - sensor.friendly_wind_direction
    - sensor.dark_sky_cloud_coverage
    - sensor.dark_sky_daytime_high_temperature_0
    - sensor.dark_sky_overnight_low_temperature_0
    - sensor.dark_sky_dew_point
    - sensor.dark_sky_nearest_storm_distance
    - sun.sun
    - sensor.dark_sky_moon_phase_0

weather_pws:
  name: Mark's Weather Station
  entities:
    - sensor.pws_alerts
    - sensor.pws_weather
    - sensor.pws_temp_f
    - sensor.pws_temperature_string
    - sensor.pws_precip_today_in
    - sensor.pws_precip_today_string
    - sensor.pws_precip_1d_in
    - sensor.pws_precip_1d
    - sensor.pws_pressure_in
    - sensor.pws_pressure_trend
    - sensor.pws_relative_humidity
    - sensor.pws_dewpoint_f
    - sensor.pws_dewpoint_string
    - sensor.pws_feelslike_f
    - sensor.pws_feelslike_string
    - sensor.pws_heat_index_f
    - sensor.pws_heat_index_string
    - sensor.pws_solarradiation
    - sensor.pws_UV
    - sensor.pws_visibility_mi
    - sensor.pws_wind_degrees
    - sensor.pws_wind_dir
    - sensor.pws_wind_gust_mph
    - sensor.pws_wind_gust_1d_mph
    - sensor.pws_wind_mph
    - sensor.pws_wind_1d_mph
    - sensor.pws_wind_string
    - sensor.pws_elevation
    - sensor.pws_location
    - sensor.pws_observation_time
    - sensor.pws_station_id
    - sensor.pws_temp_high_record_f
    - sensor.pws_temp_low_record_f
    - sensor.pws_temp_high_avg_f
    - sensor.pws_temp_low_avg_f
    - sensor.pws_temp_high_1d_f
    - sensor.pws_temp_low_1d_f
#    - sensor.pws_weather_1h
#    - sensor.pws_weather_1n
#    - sensor.pws_weather_1h
#    - sensor.pws_weather_2d
#    - sensor.pws_weather_2n
#    - sensor.pws_weather_3d
#    - sensor.pws_weather_3n
#    - sensor.pws_weather_4d
#    - sensor.pws_weather_4n

weather_forecast:
  name: Weather Forecast
  entities:
    - sensor.pws_weather
    - sensor.pws_weather_1h
    - sensor.pws_weather_1n
    - sensor.pws_weather_1h
    - sensor.pws_weather_2d
    - sensor.pws_weather_2n
    - sensor.pws_weather_3d
    - sensor.pws_weather_3n
    - sensor.pws_weather_4d
    - sensor.pws_weather_4n

ecobeethermostat:
  name:  Thermostat
  entities:
    - sensor.my_ecobee_temperature
    - sensor.my_ecobee_humidity
    - sensor.furnace_operation_mode
    - sensor.furnace_current_operation
    - sensor.furnace_fan

ecobeeclimate:
  name: Thermostat Settings
  entities:
    - climate.my_ecobee

ecobeeweather:
  name:  Thermostat Stats
  entities:
    - weather.my_ecobee

nest_protect_firstfloor:
  name: 1st Floor Detectors
  entities:
    - sensor.entryway_nest_protect_smoke_status
    - sensor.entryway_nest_protect_co_status
    - sensor.entryway_nest_protect_battery_health
    - binary_sensor.entryway_nest_protect_online

nest_protect_secondfloor:
  name: 2nd Floor Detectors
  entities:
    - sensor.upstairs_nest_protect_smoke_status
    - sensor.upstairs_nest_protect_co_status
    - sensor.upstairs_nest_protect_battery_health
    - binary_sensor.upstairs_nest_protect_online

nest_protect_basement:
  name: Basement Detectors
  entities:
    - sensor.basement_nest_protect_smoke_status
    - sensor.basement_nest_protect_co_status
    - sensor.basement_nest_protect_battery_health
    - binary_sensor.basement_nest_protect_online

themeselection:
  name: Theme Selection
  entities:
    - input_select.themes

Traceback/Error logs

Invalid config for [group]: [control] is an invalid option for [group]. Check: group->group->broadcast->control. (See C:\Users\Home Assistant\AppData\Roaming\.homeassistant\configuration.yaml, line 1410). 

Additional information

MarkHofmann11 commented 4 years ago

Even when I completely remove the groups.yaml, I get the same error.

dshokouhi commented 4 years ago

Look for another group defined elsewhere thats called broadcast you need to comment out control in it.

MarkHofmann11 commented 4 years ago

Thanks for the tip! I had totally forgotten about the separate package under the "packages" sub-directory that I have called radio.yaml, which has another group section in it. Removed the control: line from it and all is fine now. Appreciate the help!!!