new file: src.dev/CHANGELOG.md
new file: src.dev/api.py new file: src.dev/config.yaml new file: src.dev/cron.py new file: src.dev/log_config.py new file: src.dev/moj_licznik.py new file: src.dev/requirements.txt new file: src.dev/run.py new file: src.dev/run.sh deleted: .idea/workspace.xml modified: repository.yaml modified: src.dev/CHANGELOG.md
This commit is contained in:
9
src.dev/run.sh
Normal file
9
src.dev/run.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
export USERNAME=$(bashio::config 'energa_username')
|
||||
export PASSWORD=$(bashio::config 'energa_password')
|
||||
export LOGLEVEL=$(bashio::config 'log_level')
|
||||
|
||||
bashio::log.info "Uruchamiam API"
|
||||
python run.py
|
||||
|
||||
Reference in New Issue
Block a user