* added service to transfer Add-on config from options.json to config.toml

* added feature to get MQTT config from Homeassistant

current version is MVP. can run as Home Assistant Add-On, config.toml is automatically created from option parameters in the add-on configuration tab.

* fix pylance and flake8 warnings

* prepare building a ha addon

- move build script into root dir
- cp source files in addon build-tree

* ignore proxy source files in addon build tree

* move proxy source files in own directory

* remove duplicates source files from repro

* check for a valis SONAR_TOKEN

* rename add_on path

* prepare for unittests and coverage measurement

* move file cause of the changes pathname

* move the proxy dir to /home/proxy

* build addon with make now

* remove duplicated requirements.txt file from repo

* undo changes

---------

Co-authored-by: Michael Metz <michael.metz@siemens.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
This commit is contained in:
metzi
2024-11-29 21:02:19 +01:00
committed by GitHub
parent 976eaed9ea
commit 45b57109a8
15 changed files with 426 additions and 3 deletions

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
.PHONY: build clean
# debug dev:
# $(MAKE) -C app $@
clean build:
$(MAKE) -C ha_addon $@