#Hm alright My hope was that I could have
1 messages · Page 1 of 1 (latest)
home:
ignored_zones:
- work
- near_home
devices:
- device_tracker.pixel_7_pro
tolerance: 700
unit_of_measurement: m
near_home:
zone: near_home
devices:
- person.andrew
tolerance: 500
unit_of_measurement: m
work:
zone: work
devices:
- person.andrew
tolerance: 200
unit_of_measurement: m```
So I have this, but, when reloading the YAML for All Files, and Restarting HA, I don't see these in entities. 🤔
To check your configuration use the command for your install method:
Run that command, and if it passes restart HA then check
Open your Home Assistant instance and show your state developer tools
Hm, that ha core check doesn't seem to work within docker?
Unknown arguments: ./configuration.yaml
Testing configuration at /root/.homeassistant
Failed config
General Errors:
- File configuration.yaml not found.
Even the first step doesn't work within the docker container as sudo isn't installed.
If I skip that, and go straight to step 2,:
bash: /srv/homeassistant/bin/activate: No such file or directory
And if I just do step 3:
Testing configuration at /root/.homeassistant
Failed config
General Errors:
- File configuration.yaml not found.
Successful config (partial)```
67 root 2h22 python3 -m homeassistant --config /config```
If I specify /config after `check_config` it doesn't report back with anything.
Sure it can, you just have to pass the valid path
If you get nothing back then it's valid
Testing configuration at /config
mininas:/config# hass --script check_config ./configuration.yaml
Unknown arguments: ./configuration.yaml
Testing configuration at /root/.homeassistant
Failed config
General Errors:
- File configuration.yaml not found.
Successful config (partial)```
So I would say based on the first, it's valid then.
docker exec homeassistant python -m homeassistant --script check_config --config /config
``` is what the docs show
Testing configuration at /config
➜ ~```
There you go... valid