Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add homeassistant-config with different notification data store #70

Merged
merged 1 commit into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .base import *

ENABLE_HOME_ASSISTANT_SUPPORT = True
MESSAGE_STORAGE = "django.contrib.messages.storage.session.SessionStorage"
2 changes: 1 addition & 1 deletion babybuddy/root/etc/cont-init.d/babybuddy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ ! -f "/config/.secretkey" ]; then
| tr -d '\n' > /config/.secretkey
fi
export \
DJANGO_SETTINGS_MODULE="babybuddy.settings.base" \
DJANGO_SETTINGS_MODULE="babybuddy.settings.homeassistant" \
ALLOWED_HOSTS="${ALLOWED_HOSTS:-*}" \
TIME_ZONE="${TZ:-UTC}" \
DEBUG="${DEBUG:-False}" \
Expand Down
2 changes: 1 addition & 1 deletion babybuddy/root/etc/services.d/babybuddy/run
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ options+=(--worker-class=gthread)
cd /app/babybuddy || bashio.exit.nok 'Failed cd, /app/babybuddy does not exist, exiting...'

export \
DJANGO_SETTINGS_MODULE="babybuddy.settings.base" \
DJANGO_SETTINGS_MODULE="babybuddy.settings.homeassistant" \
ALLOWED_HOSTS="${ALLOWED_HOSTS:-*}" \
TIME_ZONE="${TZ:-UTC}" \
DEBUG="${DEBUG:-False}" \
Expand Down
Loading