Robert Svensson
efc89cd34f
Unifi websocket manager ( #111041 )
...
* Move hub into .hub.hub
* Move websocket to own module
* Minor shuffle
2024-02-24 16:20:59 -05:00
Robert Svensson
2f026ca963
Unifi rename controller to hub ( #110976 )
...
* Rename controller.py to hub.py
* Rename UniFiController to UnifiHub
* Rename controller instances into hub
* Rename controller to hub in tests
* Rename aiounifi Controller references to api
* Update strings
* Rename test_controller test_hub
* Narrow scope of test_remove_sensors
2024-02-20 08:51:22 +01:00
Jan-Philipp Benecke
22e62f42e6
Use entity & device registry fixtures in unifi tests ( #110889 )
2024-02-18 23:47:10 +01:00
epenet
9a5f88f55f
Add type hints to integration tests (part 23) ( #88235 )
2023-02-17 16:40:46 +01:00
epenet
278050a73f
Add type hints to integration tests (t-z) ( #87707 )
2023-02-08 19:10:53 +01:00
Franck Nijhof
c3d19f3827
Clean up accessing device_registry helpers via hass ( #72031 )
2022-05-17 12:22:15 -07:00
Robert Svensson
da355438aa
Reconnect client service tried to connect even if device didn't exist ( #65082 )
2022-01-28 08:33:31 -08:00
Robert Svensson
bc7624b417
Fix UniFi remove client service if time stamps are not integers ( #63998 )
...
* Only calculate total time if first and last seen are ints, else remove client
* Update homeassistant/components/unifi/services.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/unifi/services.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-13 08:15:40 +01:00
Robert Svensson
ed37d2a794
New service reconnect_client for UniFi integration ( #57570 )
...
* Initial proposal of a client reconnect service
* Slim setup and teardown of services
* Minor improvements
* Add tests
2021-10-18 08:06:06 +02:00
Robert Svensson
0916322a43
Deduplicate controls of UniFi services ( #56834 )
...
* Fix left over comments from #56717 - no need to keep UNIFI_SERVICES if we control it is only called while UNIFI_DOMAIN is empty
* Fix late comments as well
* Improve service tests
* mock.called_with was not reliable
2021-10-01 15:59:29 +02:00
Robert Svensson
d61a9e8b72
Service to remove clients from UniFi Controller ( #56717 )
2021-09-30 14:38:29 +02:00