Commit graph

39 commits

Author SHA1 Message Date
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Franck Nijhof
e9c6da9803
Remove WLED entity descriptions required fields mixins () 2023-11-14 21:49:14 -05:00
Joost Lekkerkerker
9672cdf3a9
Add entity translations to WLED () 2023-09-12 20:19:45 +02:00
Alexey Baturin
89355e0879
Add WLED IP as a sensor ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-26 20:03:03 +02:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
69bc95a715
Use DATA_SIZE device class in integrations () 2022-12-13 10:17:56 +01:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations () 2022-12-09 10:51:26 +01:00
Álvaro Fernández Rojas
f443edfef4
Enable statistics for WLED WiFi RSSI/Signal sensors () 2022-08-15 11:49:22 +02:00
Franck Nijhof
f15d3fc5db
Migrate WLED to new entity naming style () 2022-07-10 14:56:48 -07:00
Franck Nijhof
6aacaa744e
Only create WLED current sensors when available () 2022-03-14 11:49:16 +01:00
epenet
666e14b11d
Use new enums in wled ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:57:05 +01:00
Robert Hillis
78f2866f98
Finish using enums in wled () 2021-12-18 16:17:55 +01:00
Franck Nijhof
74f7f28f1c
Use device class enums in WLED () 2021-12-01 10:16:44 +01:00
Marc Mueller
de78c4f0f8
Import Callable from collections.abc () 2021-11-25 22:23:48 +01:00
Franck Nijhof
5593dd4006
Use native datetime value in WLED sensors () 2021-11-18 20:03:40 +01:00
Franck Nijhof
f3d5768fb4
Move WLED sensors to entity descriptions ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-11-01 08:54:05 +01:00
Paulus Schoutsen
3c11e2a097
Add entity category to WLED () 2021-10-14 13:31:01 -07:00
Erik Montnemery
ae507aeed1
Move temperature conversions to sensor base class (8/8) ()
* Move temperature conversions to entity base class (8/8)

* Fix wallbox sensor

* Fix tests
2021-08-11 21:17:16 +02:00
Marc Mueller
c578541a82
Add new electrical unit constants (mV + mA) () 2021-07-20 15:57:11 +02:00
Franck Nijhof
b83b82ca7d
WLED WebSocket support - local push updates ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-06-11 20:55:08 +02:00
Franck Nijhof
332c86ff8c
Restructure WLED integration () 2021-06-09 20:15:46 +02:00
Franck Nijhof
d0fa4e1d48
Upgrade wled to 0.5.0 () 2021-06-08 13:38:20 -07:00
Franck Nijhof
bf13af34b4
Use entity class vars in WLED () 2021-05-26 14:08:09 +02:00
Dermot Duffy
4e4042a869
Fix types for WLED () 2021-05-09 19:34:21 +02:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 () 2021-04-30 20:38:59 +02:00
jan iversen
9879b7becf
Rename HomeAssistantType to HomeAssistant, integrations w* - z* ()
* Integration zha: HomeAssistantType -> HomeAssistant.

* Integration zerproc: HomeAssistantType -> HomeAssistant.

* Integration xbox: HomeAssistantType -> HomeAssistant.

* Integration wunderground: HomeAssistantType -> HomeAssistant.

* Integration wled: HomeAssistantType -> HomeAssistant.

* Integration water_heater: HomeAssistantType -> HomeAssistant.

* Integration websocket_api: HomeAssistantType -> HomeAssistant.

* Integration wilight: HomeAssistantType -> HomeAssistant.
2021-04-22 11:04:28 -04:00
Erik Montnemery
0c086b5067
Migrate integrations w-z to extend SensorEntity () 2021-03-22 19:50:29 +01:00
Marc Mueller
dcca29ef68
Update typing 14 () 2021-03-18 15:08:35 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() () 2021-03-11 20:16:26 +01:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) () 2020-10-16 21:24:08 -05:00
Simone Chemelli
7554c8d6c5
Add missing unit for signal strength ()
* Added missing unit for signal strength

* Added one more unit

* Replaced string with variable

* Fixed wrong import

* Fix import

* Replaced string with variable

* Fixed wrong import

* Apply suggestions from code review

* Black

* Again a fix :-(

* iSort

* iSort after merge

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-01 16:14:29 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
Ville Skyttä
802c556e82
State and service related type hint improvements ()
* Improve type hint of service_func to register

* Add named type for state values

* Narrow some unnecessarily broad state type hints
2020-08-17 15:02:43 -04:00
Franck Nijhof
3d0ea42ac0
Add current device class to WLED current sensor () 2020-08-10 17:50:03 +02:00
Franck Nijhof
6d4fa76107
Add Wi-Fi sensors to WLED integration () 2020-03-21 15:14:41 -07:00
Franck Nijhof
992daa4a44
Migrate WLED to use DataUpdateCoordinator ()
* Migrate WLED to use DataUpdateCoordinator

* Remove stale debug statement

* Process review suggestions

* Improve tests

* Improve tests
2020-03-13 13:19:05 +01:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants ()
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
Franck Nijhof
db76b91ffa
Add disabled entities support to WLED () 2020-01-22 10:45:38 +01:00
Franck Nijhof
a39cac765e Add sensor platform to WLED integration ()
* Add sensor platform to WLED integration

* Process review comments
2019-11-09 20:18:41 +01:00