Commit Graph

14 Commits (390daf1723c395535f87cfae2f6cba5ecc58892a)

Author SHA1 Message Date
mletenay 60ca3b3223
Extract goodwe data update coordinator to a separate module (#88396)
* Extract coordinator to separate module

* Make field protected and replace cast
2023-02-21 08:14:12 +01:00
mletenay 728f0d5b3b
Fix goodwe text(enum) sensors device class (#87914) 2023-02-18 13:39:38 +01:00
Franck Nijhof 793e51ac76
Enable Ruff SIM212 (#88181) 2023-02-15 15:22:34 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet fc43fb17a9
Fix incorrect device class in goodwe (#83917)
Fix device class in goodwe
2022-12-13 13:45:51 +01:00
epenet 7c3ca38eb7
Use UnitOfElectricCurrent in integrations (#83622) 2022-12-09 10:51:26 +01:00
starkillerOG 8974657ba9
Fix Goodwe spinlock (#80624)
* fix spinlock

* Add debug log

* fix styling
2022-10-21 22:50:00 +02:00
starkillerOG 88500145d2
Goodwe reset to 0 at midnight (#76793)
* reset at midnight

* fix styling

* Update sensor.py

* Update homeassistant/components/goodwe/sensor.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* fix missing import

* Only reset if inverter is offline at midnight

* fix issort

* Add detailed explanation

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-09-27 14:09:55 +02:00
mletenay 9b60b0c23f
Keep sum energy sensors always available (#69218) 2022-06-28 21:09:24 -07:00
epenet 6745e01b80
Use SensorDeviceClass in goodwe (#69263) 2022-04-04 17:45:44 +02:00
epenet 76247414bf
Add pylint plugin for deprecated STATE_CLASS_* (#69237) 2022-04-04 11:45:53 +02:00
epenet 32d5c8e8ac
Add type hint to RegistryEntry.entity_category (#64618)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 12:51:11 +01:00
epenet eed6ca51e9
Add setup type hints [g] (#63432)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:49:14 +01:00
mletenay f0acbabd48
Add Goodwe solar inverter integration (#58503)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2022-01-04 22:19:31 +01:00