Commit graph

8 commits

Author SHA1 Message Date
Robert Svensson
7f1fff12ef
Bump aiounifi to v45 (#90250)
* Bump aiounifi to v45

* Replace local TypeVar with library TypeVar
2023-03-25 00:27:16 +01:00
Robert Svensson
9ff45ca013
Allow loading UniFi entities on config options change (#88762)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-06 16:08:14 +01:00
Marc Mueller
ab76b3ffb3
Update Union typing (3) [Py310] (#86426) 2023-01-23 10:05:56 +01:00
Robert Svensson
220ec1906c
Make sensor platform use common UniFi entity class (#84818)
fixes undefined
2023-01-06 12:50:32 +01:00
Robert Svensson
6718b40181
Make switch platform use common UniFi entity class (#84458)
* Make switch platform use common UniFi entity class

* Consolidate common functions between update and switch platforms

* Use controller.register_platform_add_entities

* Rename UnfiEntityLoader to UnifiUpdateEntityDescriptionMixin
2023-01-03 22:57:44 +01:00
Robert Svensson
28eda7d1f0
Move add Update entities to UniFi controller (#84477) 2022-12-30 21:58:23 +01:00
Robert Svensson
9f399a1bbe
Only subscribe to specific UniFi object ID (#84787) 2022-12-29 10:51:16 -10:00
Robert Svensson
30df9e7706
Split out part of update sensor to a common UniFi entity class (#84262)
* Split out part of update sensor to a common entity class

* Mark methods abstract and/or raise NotImplementedError

* Resolve review comments
2022-12-22 13:17:17 +01:00