mirror of https://github.com/snachodog/mybuddy.git
Read ENABLE_HOME_ASSISTANT_SUPPORT from environment
This commit is contained in:
parent
c1eb9da7f3
commit
894a4c540a
|
@ -361,4 +361,6 @@ BABY_BUDDY = {
|
||||||
|
|
||||||
# Home assistant specific configuration
|
# Home assistant specific configuration
|
||||||
|
|
||||||
ENABLE_HOME_ASSISTANT_SUPPORT = False
|
ENABLE_HOME_ASSISTANT_SUPPORT = bool(
|
||||||
|
strtobool(os.environ.get("ENABLE_HOME_ASSISTANT_SUPPORT") or "False")
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue