* Update ghcr.io/hassio-addons/base Docker tag to v18.1.1
* Update ghcr.io/hassio-addons/base Docker tag to v18.1.4
* update changelog
* update action step name
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
* Update python Docker tag
* bump to py version 3.14
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
* Update dependency pytest-asyncio to v1.2.0
* don't stop the event loop between test
set the loop_scope to session for async tests
* remove loop_scope="session"
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
* Save a tast reference
Important: Save a reference of the created task,
to avoid a task disappearing mid-execution. The
event loop only keeps weak references to tasks.
A task that isn’t referenced elsewhere may get
garbage collected at any time, even before it’s
done. For reliable “fire-and-forget” background
tasks, gather them in a collection
* update python and pip to compatible versions
* Update ghcr.io/hassio-addons/base Docker tag to v18.0.3
* add-on: remove armhf and armv7 support
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
* add links to add-on urls
* Add translations
* set app.testing to get exceptions during test
* improve unit-tests for the web-UI
* update changelog
* extend languages tests
* workaround for github runner
* Update dependency pytest-asyncio to v1
* set version to 0.15.0
* Update dependency pytest-asyncio to v1
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
* Update change log (#436)
* S allius/issue427 (#434)
* mock the aiomqtt library and increse coverage
* test inv response for a mb scan request
* improve test coverage
* S allius/issue427 (#435)
* mock the aiomqtt library and increse coverage
* test inv response for a mb scan request
* improve test coverage
* improve test case
* version 0.14.0
* handle missing MQTT addon
- we have to check if the supervisor API and a
MQTT broker add-on is installed. If not we assume
the user has an external MQTT broker
* handle missing MQTT addon
* run also on releases/* branch
* avoid printing of the MQTT config inkl. password
* revise the log outputs
* update version 0.14.1
* new version 0.14.1
* set no of pv modules for MS800 GEN3PLUS inverters
* fix unit test
* increase test coverage
* change the PV module handling
- in default we set the number of modules now to
two. So with the first data from the inverter
we only register two modules. After we determine
the inverter module, the number can increase to
four and more PV modules will be registered.
With the default value of 4, we register always
4 modules and can't reduce the number of areas
when we detect that the inverter only supoorts
two PV modules
* add dcu_power MQTT topic
* add DCU_COMMAND counter
* test invalid dcu_power values
* handle and test DCU Command responses
* test dcu commands from the TSUN cloud
* cleanup MQTT topic handling
* update changelog
* test MQTT error and exception handling
* increase test coverage
* test dispatcher exceptions
* fix full_topic definition in dispatch test