Skip to content

Commit

Permalink
remove nap controls
Browse files Browse the repository at this point in the history
  • Loading branch information
OttPeterR committed Jul 26, 2023
1 parent 1fda041 commit 64464a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 6 additions & 1 deletion babybuddy/DOCS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Home Assistant Add-on: Baby Buddy

[BabyBuddy](https://github.com/babybuddy/babybuddy), wrapped into a Home Assistant addon

## Config Options
Expand All @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions babybuddy/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions babybuddy/root/etc/services.d/babybuddy/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64464a6

Please sign in to comment.