Configuration changes not reflected. Config valid

Hi Guys,

All of the sudden I cannot make any changes to my home assistant, including:

  • Cannot add devices
  • Cannot add groups
  • Cannot add tabs

Config is checked valid…
Service reloads successfully
New devices are discovered successfully
homeassistant:

configuration.yaml

  #Custom UI customization - context-aware attributes
  customize_glob:
    "*.*":
      custom_ui_state-card: state-card-custom-ui
    group.entrance_sensors:
      friendly_name: "Main Entrance Sensors"
      icon: mdi:door
      group:
        group.entrance:
          friendly_name: "Entrace Sensors"
    group.passage_sensors:
      friendly_name: "Passage Entrance Sensors"
      icon: mdi:door
      group:
        group.entrance:
          friendly_name: "Passage Sensors"
    group.living_room:
      friendly_name: "Living Room"
      icon: mdi:home-variant
      group:
        group.indoor:
          friendly_name: "Living Room"
    group.entrance_lights:
      friendly_name: "Main Entrance Lights"
      icon: mdi:lightbulb
      group:
        group.entrance:
          friendly_name: "Entrance Lights"

  # Name of the location where Home Assistant is running
  name: "Doreen Escape"
  # Location required to calculate the time the sun rises and sets
  latitude: -X.X
  longitude: X.X
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 33
  # 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: Australia/Melbourne
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend
# introduction:

# Enables the frontend
frontend:
  extra_html_url:
    - /local/custom_ui/state-card-custom-ui.html
# Enables configuration UI
config:


http:
  # Secrets are defined in the file secrets.yaml
  #api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  #server_port: 8123
  #base_url: hassio.xxx.xxx.xx
  #api_password: "Test"
  #ssl_certificate: "/etc/letsencrypt/live/xxx.xxx.xx/fullchain.pem"
  #ssl_key: "/etc/letsencrypt/live/mydomain.com/privkey.pem"
  #use_x_forwarded_for: True

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# 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:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Weather prediction
sensor:
  - platform: yr
    name: Weather
    monitored_conditions:
      - temperature
      - symbol
      - precipitation
      - windSpeed
      - pressure
      - windDirection
      - humidity
      - fog
      - cloudiness
      - lowClouds
      - mediumClouds
      - highClouds
      - dewpointTemperature

# Text to speech
tts:
  - platform: google

  
# Xiaomi Gateways
xiaomi_aqara:
 discovery_retry: 5
 gateways:
  - host: 192.168.X.X
    mac: 34:ce:00:XX.XX.XX
    key: lgxadg3nwa0vsdsds
  - host: 192.168.X.X
    mac: 34:ce:00:XX.XX.XX
    key: y64d2dqerrzsdsds    
  


# Tracking people via nmap & Xiaomi router.
device_tracker:
  - platform: nmap_tracker
    hosts:
     - 192.168.X.X
     - 192.168.X.X
    interval_seconds: 180
    exclude:
     - 192.168.X.X
     - 192.168.X.X
     - 192.168.X.X
     - 192.168.X.X
     - 192.168.X.X
  - platform: xiaomi
    host: 192.168.X.X
    username: admin
    password: !secret http_password
    host: 192.168.X.X
    username: admin
    password: !secret http_password
  
#Notifications
telegram_bot:
  - platform: polling
    api_key: 392328351:AAFlg8wLkisuZmM32qOcpePHib05Jc-Zock
    allowed_chat_ids:
     - 3232323232
     
notify:
  - name: Telegram_DoreenBot
    platform: telegram
    chat_id: 121212121








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

groups.yaml

default_view:
  name: Everything
  view: yes
  icon: mdi:earth
  entities:
   - group.kitchen
   - group.master_bedroom
   - group.joanna_bedroom
   - group.joanna_playroom
   - group.office
   - group.living_room
   - group.passage_sensors
   - group.passage_cameras
   - group.pergola
   - group.alfresco
   - group.all_cameras
   - group.outdoor_cameras
   - group.indoor_cameras
   - group.entrance_cameras
   - group.entrance_sensors
   - group.pretty_people
   - group.entrance_lights
   - device_tracker.mars_miphone
   - device_tracker.dora_miphone

# All Primary Groups listed here.
people:
  view: yes
  name: "Pretty People"
  icon: mdi:human-male-female
  entities:
   - device_tracker.mars_miphone
   - device_tracker.dora_miphone

indoor:
  name: Indoor
  view: yes
  icon: mdi:city
  entities:
   - group.kitchen
   - group.master_bedroom
   - group.joanna_bedroom
   - group.spare_beedroom
   - group.joanna_playroom
   - group.office
   - group.living_room

backyard:
  name: Backyard
  view: yes
  icon: mdi:nature-people
  entities:
   - group.passage
   - group.alfresco
   - group.pergola

entrance:
  name: Entrance
  view: yes
  icon: mdi:gate
  entities:
   - group.entrance_cameras
   - group.entrance_sensors
   - group.passage_sensors
   - group.passage_cameras
   - group.entrance_lights


security_cameras:
  view: yes
  icon: mdi:message-video
  name: Cameras
  entities:
   - group.all_cameras
   - group.indoor_cameras
   - group.outdoor_cameras
   - group.entrance_cameras

   
#All nested subgroups with devices listed here.


kitchen:
  name: Kitchen
  view: no
  entities:
   - binary_sensor.test_1

master_bedroom:
  name: "Master Bedroom"
  entities:
   - light.yeelight_rgb_34ce008d31cd

spare_bedroom:
  name: Bedroom
  entities:
   - binary_sensor.motion_sensor_158d000123031f
   - light.yeelight_white_34ce008873f6

joanna_bedroom:
  name: "Joanna's_Room"
  entities:
   - binary_sensor.test_3

joanna_playroom:
  name: Playroom
  entities:
   - binary_sensor.test_4

office:
  name: Office
  entities:
   - binary_sensor.test_5

living_room:
  name: "Living Room"
  entities:
   - sensor.humidity_158d0001b8ccef
   - sensor.temperature_158d0001b8ccef
   - binary_sensor.door_window_sensor_158d0001dcafdb
   - group.bar_lights

bar_lights:
  name: "Living Room Bar Lights"
  icon: mdi:ceiling-light
  entities:


passage_sensors:
  name: "Passage Sensors"
  entities:
  - binary_sensor.motion_sensor_158d0001dc14b3

passage_cameras:
  name: Passage
  entities:
   - binary_sensor.test_7

alfresco:
  name: Alfresco
  entities:
   - binary_sensor.door_window_sensor_158d00019fd9d7
   - sensor.weather_cloudiness
   - sensor.weather_humidity
   - sensor.weather_temperature
   - sensor.weather_wind_speed
   - sensor.weather_symbol
   - sun.sun

pergola:
  name: Pergola
  entities:
   - binary_sensor.test_9

entrance_sensors:
  name: "Entrance Sensors"
  entities:
   - binary_sensor.door_window_sensor_158d0001e037e7
   - binary_sensor.motion_sensor_158d000122fecd
   - binary_sensor.switch_158d0001a2d6ed

entrance_cameras:
  name: "Door_Cameras"
  entities:
   - binary_sensor.test_10

entrance_lights:
  name: "Entrance Lights"
  entities:
    - light.gateway_light_34ce00908d34
    - sensor.illumination_34ce00908d34


all_cameras:
  name: "All_Cameras"
  entities:
   - binary_sensor.test_11

indoor_cameras:
  name: "Smart_Cameras"
  entities:
   - binary_sensor.test_12

outdoor_cameras:
  name: "CCTV_Cameras"
  entities:
   - binary_sensor.test_13

customize.yaml

#ALl TEMPERATURE SENSORS HERE
sensor.humidity_158d0001b8ccef:
  # entity_picture: http://www.smarthome.hk/image/cache/catalog/product/Aqara%20Smart%20Air%20Pressure%20Temperature%20Humidity%20Environment%20Sensor_3-150x150.jpg
  icon: mdi:weather-fog
  friendly_name: Humidity

sensor.temperature_158d0001b8ccef:
  # entity_picture: http://www.smarthome.hk/image/cache/catalog/product/Aqara%20Smart%20Air%20Pressure%20Temperature%20Humidity%20Environment%20Sensor_3-150x150.jpg
  icon: mdi:temperature-celsius
  friendly_name: Temperature

  



#ALL BINARY SENSORS DOOR SENSORS HERE:  
binary_sensor.door_window_sensor_158d0001e037e7:
  # entity_picture: https://image3.geekbuying.com/ggo_pic/2015-11-06/201511601558282403nzys.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"

binary_sensor.door_window_sensor_158d0001dc1e56:
  # entity_picture: https://image3.geekbuying.com/ggo_pic/2015-11-06/201511601558282403nzys.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"

binary_sensor.door_window_sensor_158d00019fd9d7:
  # entity_picture: https://image3.geekbuying.com/ggo_pic/2015-11-06/201511601558282403nzys.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"

binary_sensor.door_window_sensor_158d0001dcafdb:
  # entity_picture: https://image3.geekbuying.com/ggo_pic/2015-11-06/201511601558282403nzys.jpg
  icon: mdi:door
  friendly_name: "Roof-hatch Sensor"

binary_sensor.door_window_sensor_158d0001ab42ba:
  # entity_picture: https://image3.geekbuying.com/ggo_pic/2015-11-06/201511601558282403nzys.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"

binary_sensor.door_window_sensor_158d0001a97f31:
  # entity_picture: https://image3.geekbuying.com/ggo_pic/2015-11-06/201511601558282403nzys.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"

  
  
  
#ALL PIR SENSORS HERE:
binary_sensor.motion_sensor_158d0001e440a1:
  # entity_picture: https://img.banggood.com/images/oaupload/banggood/images/D7/CD/52b191a5-c74b-4ebc-a2dc-071259f2b0c9.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"
sensor.illumination_158d0001e440a1:
  # entity_picture: https://img.banggood.com/images/oaupload/banggood/images/D7/CD/52b191a5-c74b-4ebc-a2dc-071259f2b0c9.jpg
  icon: mdi:door
  friendly_name: "Door Sensor" 
  
binary_sensor.motion_sensor_158d0001ad6d0f:
  # entity_picture: https://img.banggood.com/images/oaupload/banggood/images/D7/CD/52b191a5-c74b-4ebc-a2dc-071259f2b0c9.jpg
  icon: mdi:door
  friendly_name: "Door Sensor" 
sensor.illumination_158d0001ad6d0f:
  # entity_picture: https://img.banggood.com/images/oaupload/banggood/images/D7/CD/52b191a5-c74b-4ebc-a2dc-071259f2b0c9.jpg
  icon: mdi:door
  friendly_name: "Door Sensor" 
  
binary_sensor.motion_sensor_158d0001ad6718:
  # entity_picture: https://img.banggood.com/images/oaupload/banggood/images/D7/CD/52b191a5-c74b-4ebc-a2dc-071259f2b0c9.jpg
  icon: mdi:door
  friendly_name: "Door Sensor" 
sensor.illumination_158d0001ad6718:
  # entity_picture: https://img.banggood.com/images/oaupload/banggood/images/D7/CD/52b191a5-c74b-4ebc-a2dc-071259f2b0c9.jpg
  icon: mdi:door
  friendly_name: "Door Sensor"   

binary_sensor.motion_sensor_158d000122fecd:
  # entity_picture: https://ae01.alicdn.com/kf/HTB1AoqIRVXXXXa.XFXXq6xXFXXXp/New-Updated-Xiaomi-Aqara-Human-Body-Sensor-Smart-Body-Movement-Motion-Sensor-Zigbee-Connection-Mihome-App.jpg
  icon: mdi:run-fast
  friendly_name: "Motion Sensor"
  
binary_sensor.motion_sensor_158d000123031f:
  # entity_picture: https://ae01.alicdn.com/kf/HTB1AoqIRVXXXXa.XFXXq6xXFXXXp/New-Updated-Xiaomi-Aqara-Human-Body-Sensor-Smart-Body-Movement-Motion-Sensor-Zigbee-Connection-Mihome-App.jpg
  icon: mdi:run-fast
  friendly_name: "Motion Sensor"

binary_sensor.motion_sensor_158d0001dc14b3:
  # entity_picture: https://ae01.alicdn.com/kf/HTB1AoqIRVXXXXa.XFXXq6xXFXXXp/New-Updated-Xiaomi-Aqara-Human-Body-Sensor-Smart-Body-Movement-Motion-Sensor-Zigbee-Connection-Mihome-App.jpg
  icon: mdi:run-fast
  friendly_name: "Motion Sensor"
  
binary_sensor.motion_sensor_158d0001b18e4c:
  # entity_picture: https://ae01.alicdn.com/kf/HTB1AoqIRVXXXXa.XFXXq6xXFXXXp/New-Updated-Xiaomi-Aqara-Human-Body-Sensor-Smart-Body-Movement-Motion-Sensor-Zigbee-Connection-Mihome-App.jpg
  icon: mdi:run-fast
  friendly_name: "Motion Sensor"
  


  
#ALL POWER PLUGS HERE
switch.plug_158d0001e1ab74:
  # entity_picture: https://image4.geekbuying.com/ggo_pic/2016-04-26/20160426018424619hkrsgp.jpg
  icon: mdi:power-socket-uk
  friendly_name: "Smart Plug"


#ALL MAGIC BUTTONS HERE
binary_sensor.switch_158d0001a2d6ed:
  #entity_picture: https://xiaomi-mi.com/uploads/CatalogueImage/pvm_xiaomi-aqara-smart-wireless-switch-01_15781_1506342376.jpg
  icon: mdi:bullseye
  friendly_name: "Entry Button"

binary_sensor.switch_158d0001aaaaad:
  #entity_picture: https://xiaomi-mi.com/uploads/CatalogueImage/pvm_xiaomi-aqara-smart-wireless-switch-01_15781_1506342376.jpg
  icon: mdi:bullseye
  friendly_name: "Exit Button"

I’m in the dark people… please help!

I at one time accidentally had two instances of HA running and didn’t even realize it because I made a mistake when initially setting up my virtualenv… I rebooted and made sure just the instance that was supposed to be was running … I was trying to edit the config files for the wrong one that is how I realized what was going on… I had yaml files in a different directory so no changes were being reflected