diff --git a/babybuddy/DOCS.md b/babybuddy/DOCS.md index fb69844..56b4129 100644 --- a/babybuddy/DOCS.md +++ b/babybuddy/DOCS.md @@ -1,4 +1,5 @@ # Home Assistant Add-on: Baby Buddy + [BabyBuddy](https://github.com/babybuddy/babybuddy), wrapped into a Home Assistant addon ## Config Options @@ -7,12 +8,16 @@ ### Option: `CSRF_TRUSTED_ORIGINS` -If you are hosting your baby buddy via another domain (such as babybuddy.mydomain.com) then add this here to be allowed to access it. If you are shown an error message while trying to log in, this is the place to set it. If you want to use multiple domains, enter them with a comma and no space (eg `http://baby.example.com,https://babybuddy.mydomain.com`) +If you are hosting your baby buddy via another domain (such as babybuddy.mydomain.com) then add this here to be allowed to access it. If you are shown an error message while trying to log in, this is the place to set it. If you want to use multiple domains, enter them with a comma and no space (eg `http://baby.example.com,https://babybuddy.mydomain.com`) ### Option: `Network port` Access baby buddy through this port. (ex: hassio.local:8889 when set to 8889) Be sure to check that this port is not already taken. +### Option: `NAP_START_MIN` and `NAP_START_MAX` + +These are now set inside of Baby Buddy's settings, not within Home Assistant. + ## Ingress ### Option: `INGRESS_USER` (default: blank) diff --git a/babybuddy/config.yaml b/babybuddy/config.yaml index ceffd5d..5ed0704 100755 --- a/babybuddy/config.yaml +++ b/babybuddy/config.yaml @@ -20,15 +20,11 @@ ingress_stream: false panel_admin: false options: CSRF_TRUSTED_ORIGINS: "" - NAP_START_MIN: "06:00" - NAP_START_MAX: "18:00" USE_24_HOUR_TIME_FORMAT: False INGRESS_USER: "" log_level: info schema: CSRF_TRUSTED_ORIGINS: str - NAP_START_MIN: str - NAP_START_MAX: str USE_24_HOUR_TIME_FORMAT: bool INGRESS_USER: str log_level: list(debug|info|warning|error|critical) diff --git a/babybuddy/root/etc/services.d/babybuddy/run b/babybuddy/root/etc/services.d/babybuddy/run index 9a5c5c3..a0d4160 100755 --- a/babybuddy/root/etc/services.d/babybuddy/run +++ b/babybuddy/root/etc/services.d/babybuddy/run @@ -23,8 +23,6 @@ export \ export \ CSRF_TRUSTED_ORIGINS=$(bashio::config "CSRF_TRUSTED_ORIGINS") \ - NAP_START_MIN=$(bashio::config "NAP_START_MIN") \ - NAP_START_MAX=$(bashio::config "NAP_START_MAX") \ USE_24_HOUR_TIME_FORMAT=$(bashio::config "USE_24_HOUR_TIME_FORMAT") if bashio::config.has_value "INGRESS_USER"; then