Files
ha-addon-energa-meter-gh-fork/src/run.sh

11 lines
263 B
Bash
Raw Normal View History

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