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:
TC
2023-11-01 15:12:22 +01:00
parent 4b65573ed0
commit 1c76b80248
10 changed files with 1077 additions and 0 deletions

9
src.dev/run.sh Normal file
View 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