Override homeassistant\const.py

It would be nice to owerride homeassistant\const.py values from a own file in hass config directory eg. STATE_* or WEEKDAYS values.

For Localization purposes, I assume, is this the wrong approach and will probably never be allowed.

For customized there are other elements available. You can overwrite the const.py file in your installation if you want but that’s pretty messy.

Hi,

I would like to overwrite these two values with online / offline. Is this possible without touching const.py?

With templates it is working but I do not want to create 40 templates for all my devices shown in the device_tracker group.

STATE_HOME = ‘home’
STATE_NOT_HOME = ‘not_home’

Thanks