Files
ha-addon-energa-meter-gh-fork/src/run.sh
TC 7f4042f3ac new file: requirements.txt
modified:   src/Dockerfile
	modified:   src/config.yaml
	modified:   src/run.sh
2023-12-21 23:09:48 +01:00

11 lines
263 B
Bash

#!/usr/bin/with-contenv bashio
export USERNAME=$(bashio::config 'energa_username')
export PASSWORD=$(bashio::config 'energa_password')
export LOG_LEVEL=$(bashio::config 'log_level')
bashio::log.info "Uruchamiam API"
source /app/venv/bin/activate
python run.py