Skip to content

Commit

Permalink
DSMRREADER_PLUGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderdw committed Sep 25, 2023
1 parent adbf64b commit e398f49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dsmr_reader/rootfs/etc/cont-init.d/01-set-hassio-vars
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function _hass {
printf $(bashio::config 'DJANGO_DATABASE_HOST') > /var/run/s6/container_environment/DJANGO_DATABASE_HOST
printf $(bashio::config 'DJANGO_DATABASE_PORT') > /var/run/s6/container_environment/DJANGO_DATABASE_PORT
printf $(bashio::config 'DSMRREADER_OPERATION_MODE') > /var/run/s6/container_environment/DSMRREADER_OPERATION_MODE
printf $(bashio::config 'DSMRREADER_PLUGINS') > /var/run/s6/container_environment/DSMRREADER_PLUGINS
if [ "$(bashio::config 'DSMRREADER_OPERATION_MODE')" == 'api_client' ]
then
printf $(bashio::config 'DSMRREADER_REMOTE_DATALOGGER_API_HOSTS') > /var/run/s6/container_environment/DSMRREADER_REMOTE_DATALOGGER_API_HOSTS
Expand All @@ -47,7 +46,6 @@ function _hass {
export DJANGO_DATABASE_HOST=$(bashio::config 'DJANGO_DATABASE_HOST')
export DJANGO_DATABASE_PORT=$(bashio::config 'DJANGO_DATABASE_PORT')
export DSMRREADER_OPERATION_MODE=$(bashio::config 'DSMRREADER_OPERATION_MODE')
export DSMRREADER_PLUGINS=$(bashio::config 'DSMRREADER_PLUGINS')
if [ "$(bashio::config 'DSMRREADER_OPERATION_MODE')" == 'api_client' ]
then
export DSMRREADER_REMOTE_DATALOGGER_API_HOSTS=$(bashio::config 'DSMRREADER_REMOTE_DATALOGGER_API_HOSTS')
Expand Down

0 comments on commit e398f49

Please sign in to comment.