Add on (#212)
* 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:
6
ha_addon/tests/test_create_config_toml.py
Normal file
6
ha_addon/tests/test_create_config_toml.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# test_with_pytest.py
|
||||
# import ha_addon.rootfs.home.create_config_toml
|
||||
|
||||
|
||||
def test_config():
|
||||
pass
|
||||
Reference in New Issue
Block a user