Commit graph

8 commits

Author SHA1 Message Date
epenet
9a5f88f55f
Add type hints to integration tests (part 23) () 2023-02-17 16:40:46 +01:00
Robert Svensson
f56f391f81
Remove legacy constant from UniFi () 2023-01-01 20:03:14 +01:00
Robert Svensson
3444d2af1a
UniFi switch entity description ()
* 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 ()
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 () 2022-02-01 09:52:56 -08:00
Robert Svensson
046f0a706f
Add outlets to UniFi switch platform ()
* 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 () 2022-01-23 23:11:06 +01:00
Robert Svensson
20072140c6
Add diagnostics support to UniFi Network integration ()
* 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