* Rename site to account_site
* Add battery service with entities
* Test UpdateFailed exception in coordinator
* Add battery data to diagnostics report
* Add TOTAL state_class where needed
* Fix
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Fix loading KNX UI entities with entity category set
* add test
* docstring fixes
* telegram order
* Optionally ignore telegram sending order in tests
because we can't know which platform initialises first
* Add service to set the AC schedule of renault vehicles
* Remove executable permission
* Applied review comments (use snapshot)
* Rewrote examples to not use JSON
* Make NextBus coordinator more resilient and efficient
Resolves issues where one request failing will prevent all agency
predictions to fail. This also removes redundant requests for
predictions that share the same stop.
* Add unload entry test
* Prevent shutdown if the coordinator is still needed
rmvtransport: make filters always effective
In the `rmvtransport` integration, the three config attributes
`destination`, `lines`, and `time_offset` all act as filters. The
expectation is that if multiple filters are given, all of them take
effect.
However, as a consequence of using `elif` in the loop body, if a
`destination` filter has been configured, then both the `lines` and the
`time_offset` filters are ignored and have no effect.
Replace the `elif` with an `if` clause to allow all filter settings to
work as intended.
CC: @cgtobi
* Move tag base entity to separate module
* Add tag to _ENTITY_COMPONENTS
* Move Entity back in
* Add tag to base platforms
* Adjust core_files
* Revert "Adjust core_files"
This reverts commit 180c5034de.
* Revert "Add tag to base platforms"
This reverts commit 381bcf12f0.
* Update string formatting to use f-string on components
* Update code given review feedback
* Use f-string
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* hand down device serial into common entity
* fix platforms
* Revert "fix platforms"
This reverts commit 067af2b567.
* handle event loop issue
* hand in serial
* Revert "Revert "fix platforms""
This reverts commit 9bbb55ee6d.
* fix get serial call
* handle other exceptions
* also check device model for migration
* merge entity and device migration
* add test fixture without serial
* adjust test cases
* add dummy fixture
* remove commented code
* modify migration
* use continue
* break comment
* Added counters to iskra integration
* reverted pyiskra bump as reviewed
* Fixed iskra integration according to review
* fixed iskra integration according to review
Fix handling of `NoneType` for torrents in `count_torrents_in_states` function
Added a check to handle cases where the 'torrents' data is None, avoiding a `TypeError` when attempting to get the length of a `NoneType` object. The function now returns 0 if 'torrents' is None, ensuring robust behavior when no torrent data is available.
* Dont launch SSE client for core firmware 0.9.9
* Dont offer updates on core firmware 0.9.9
* Add correct firmware done event for legacy v2 firmware
* test update legacy v2 firmware
* Dont raise issue for firmware v2