question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Creating new areas by editing the configuration.yaml has no effect

See original GitHub issue

Having added magic_areas successfully, restart and observe that areas exist:

magic_areas:

Now create (or edit) areas by editing the configuration.yaml, and restart.

magic_areas:
  the_new_or_existing_area:
     include_entities: 
       - binary_sensor.front_door
       - binary_sensor.entrance_motion

Nothing happens, after restart the_new_or_existing_area does not exist.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ontolo-zzcommented, Oct 19, 2020

It works as you have described. Thank you for your help which resolved my problem.

magic_areas:
  hallway:
     presence_sensor_device_class:
       - door
       - motion    
     include_entities: 
       - binary_sensor.front_door

Now the hallway magic area contains both the magically discovered area sensors AND the added door sensor, this is correct.

binary_sensor.area_hallway

binary_sensor.entrance_motion, 
binary_sensor.front_door, 
switch.area_presence_hold_hallway
0reactions
jseidlcommented, Oct 19, 2020

Also the slug is without area. In your case would be just hallway

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration.yaml - Home Assistant
The easiest option to edit configuration.yaml is to use the Studio Code Server ... The preferred way of migrating to a new system...
Read more >
Editing configuration.yaml has no effect : r/homeassistant
I would advise to make sure you are using the built in yaml config checker (found under advanced options on the lovelace frontend)...
Read more >
Configure Home Assistant | Smart Home Hobby
Configuring means to arrange components to make a system functional. This guide covers setting devices up to work with your Home Assistant system....
Read more >
Home Assistant Configuration YAML (The Beginners Guide)
Not so long ago I was new to Home Assistant and I clearly remember ... To edit YAML in Home Assistant is as...
Read more >
Configuring an integration server by modifying the ... - IBM
yaml configuration file is created for you automatically when you use the mqsicreateworkdir command to create an integration server work ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found