Commit graph

12 commits

Author SHA1 Message Date
Marc Mueller
7da434f455
Improve DataUpdateCoordinator typing in integrations (7) () 2023-01-02 12:57:15 +01:00
Robert Hillis
6fdb414b58
Migrate Goalzero to new entity naming style () 2022-07-18 12:12:13 +02:00
Robert Hillis
e98a641376
Refactor goalzero () 2022-06-04 18:50:38 -07:00
Marc Mueller
945b67c5c5
Fix 3rd party imports () 2022-01-05 19:00:47 +01:00
Robert Hillis
4c2bf428d6
Revert "Add tests for goalzero" () 2021-11-09 12:01:12 +01:00
Robert Hillis
cc872b4618
Add tests for goalzero ()
* Add tests for goalzero

* clean up
2021-11-08 21:29:25 -08:00
Robert Hillis
0ad5ad5ca7
Don't use cast when possible for goalzero ()
* Don't use cast when possible for goalzero

* tweak

* tweak

* tweak

* Call first refresh on coordinator

* don't use dict.get if not needed

* tweak
2021-10-15 23:34:13 +02:00
Robert Hillis
abf6720cd3
Add strict typing to goalzero () 2021-10-15 00:20:08 +02:00
Robert Hillis
e11ffbcdaf
Rework goalzero for EntityDescription ()
* Rework goalzero for EntityDescription

* changes

* fix

* lint
2021-08-19 04:24:44 +02:00
Robert Hillis
3eb3c2824c
Refactor goalzero () 2021-07-21 20:52:17 +02:00
Robert Hillis
930db7167e
Code quality improvements for goalzero () 2021-07-21 08:53:53 +02:00
tkdrob
74f95ac338
Add switch platform to goalzero ()
* Add switch platform to goalzero

* fix update interval

* Apply some suggested changes

* pass device class to parent

* Drop passing device_class

* Tweaks

* Drop underscore prefix
2021-04-28 21:24:56 +02:00