Commit Graph

12 Commits (bd6a4d10ea99d757b8b1f19602f4810be8ed2f93)

Author SHA1 Message Date
Marc Mueller 7da434f455
Improve DataUpdateCoordinator typing in integrations (7) (#84890) 2023-01-02 12:57:15 +01:00
Robert Hillis 6fdb414b58
Migrate Goalzero to new entity naming style (#75358) 2022-07-18 12:12:13 +02:00
Robert Hillis e98a641376
Refactor goalzero (#72398) 2022-06-04 18:50:38 -07:00
Marc Mueller 945b67c5c5
Fix 3rd party imports (#63455) 2022-01-05 19:00:47 +01:00
Robert Hillis 4c2bf428d6
Revert "Add tests for goalzero" (#59407) 2021-11-09 12:01:12 +01:00
Robert Hillis cc872b4618
Add tests for goalzero (#57008)
* 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 (#57742)
* 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 (#57680) 2021-10-15 00:20:08 +02:00
Robert Hillis e11ffbcdaf
Rework goalzero for EntityDescription (#54786)
* Rework goalzero for EntityDescription

* changes

* fix

* lint
2021-08-19 04:24:44 +02:00
Robert Hillis 3eb3c2824c
Refactor goalzero (#53282) 2021-07-21 20:52:17 +02:00
Robert Hillis 930db7167e
Code quality improvements for goalzero (#53260) 2021-07-21 08:53:53 +02:00
tkdrob 74f95ac338
Add switch platform to goalzero (#48612)
* 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