epenet
278050a73f
Add type hints to integration tests (t-z) ( #87707 )
2023-02-08 19:10:53 +01:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Paulus Schoutsen
255ffe801b
Fix tractive flaky test ( #57026 )
2021-10-04 06:46:06 +02:00
Daniel Hjelseth Høyer
d11c58dac8
Improve Tractive ( #54532 )
...
* Tractive, code improve
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Tractive, code improve
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Tractive, code improve
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Update homeassistant/components/tractive/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tractive/const.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Tractive, comments
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Update homeassistant/components/tractive/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tractive/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Tractive
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Reauth
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Reauth
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* add tests
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* add tests
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-16 12:56:10 +02:00
Gleb Sinyavskiy
25eb27cb9f
Add tractive integration ( #51002 )
...
* Scaffold
* Implement config flow
* Add dymmy device tracker and TractiveClient
* Add simple DeviceTracker
* Add device info
* Listen to tractive event and update tracker entities accordingly
* Refactoring
* Fix logging level
* Handle connection errors
* Remove sleep
* Fix logging
* Remove unused strings
* Replace username config with email
* Update aiotractive
* Use debug instead of info
* Cover config_flow
* Update .coveragerc
* Add quality scale to manifest
* pylint
* Update aiotractive
* Do not emit SERVER_AVAILABLE, properly handle availability
* Use async_get_clientsession
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* Add @Danielhiversen as a codeowner
* Remove the title from strings and translations
* Update homeassistant/components/tractive/__init__.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Force CI
* Use _attr style properties instead of methods
* Remove entry_type
* Remove quality scale
* Make pyupgrade happy
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-05 12:47:42 +02:00