Robert Svensson
5eff4f9816
Unifi improve fixture typing ( #122864 )
...
* Improve typing of UniFi fixtures
* Improve fixture typing, excluding image, sensor, switch
* Improve fixture typing in image tests
* Improve fixtures typing in sensor tests
* Improve fixture typing in switch tests
* Fix review comment
2024-07-30 19:33:25 +02:00
Robert Resch
ad50136dbd
Add created_at/modified_at to config entries ( #122456 )
2024-07-29 22:08:46 +02:00
Robert Svensson
d695660164
Use fixtures in UniFi diagnostics tests ( #118905 )
2024-06-06 14:22:41 -04:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01: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
Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
Robert Svensson
9e42451934
UniFi refactor using site data ( #98549 )
...
* Clean up
* Simplify admin verification
* Streamline using sites in config_flow
* Bump aiounifi
2023-08-18 22:44:59 +02:00
epenet
9a5f88f55f
Add type hints to integration tests (part 23) ( #88235 )
2023-02-17 16:40:46 +01:00
Robert Svensson
f56f391f81
Remove legacy constant from UniFi ( #84947 )
2023-01-01 20:03:14 +01:00
Robert Svensson
3444d2af1a
UniFi switch entity description ( #81680 )
...
* Consolidate switch entities to one class
* Move turn on/off into UnifiSwitchEntity
* Add event subscription
Remove storing entity for everything but legacy poe switch
* Only one entity class
* Improve generics naming
* Rename loader to description
* Improve control_fn naming
* Move wrongfully placed method that should only react to dpi apps being emptied
* Improve different methods
* Minor renaming and sorting
* Mark callbacks properly
2022-11-08 07:38:31 +01:00
Jelte Zeilstra
75058e63a4
Create Update entities for Ubiquiti network devices ( #71700 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-13 09:17:41 +02:00
Robert Svensson
69ac59ce73
Redact host address in UniFi diagnostics ( #65379 )
2022-02-01 09:52:56 -08:00
Robert Svensson
046f0a706f
Add outlets to UniFi switch platform ( #64859 )
...
* Add outlets to UniFi switch platform
* Outlet shouldn't have entity category set
2022-01-25 07:49:02 +01:00
Robert Svensson
7e20e555dd
Redact usernames in UniFi diagnostics ( #64794 )
2022-01-23 23:11:06 +01:00
Robert Svensson
20072140c6
Add diagnostics support to UniFi Network integration ( #64640 )
...
* Add diagnostics support to UniFi Network integration
* Remove system info
* Add test data before trying to redact sensitive information
* Redact sensitive information from config_entry.data
* Redact a lot of different parts of the device descriptions
Redact mac addresses in such a way its possible to still view topology
2022-01-23 13:44:43 +01:00