Commit Graph

18 Commits (727eccfec4a537e245227bc4c581480c4ec0a145)

Author SHA1 Message Date
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
epenet c69e479bfd
Use new enums in goalzero (#61518)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-12 20:24:57 -08: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 ea2bc3fde1
Add entity categories to goalzero (#57906) 2021-10-21 08:31:32 +02: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 bba6a75934
Add silver quality scale to goalzero (#53299)
* Add platinum quality scale to goalzero

* adjust for quality scale

* Update manifest.json
2021-08-22 20:13:44 +02:00
Erik Montnemery 2fa07777cd
Warn if unit_of_measurement is set on instances of SensorEntityDescription (#54867)
* Add class BaseEntityDescription without unit_of_measurement

* Refactor according to review comments

* Tweak

* Fix offending integrations

* Fix offending integrations
2021-08-20 15:54:57 +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 4ef04898e9
Fix goalzero sensor not using SensorEntity class (#54773) 2021-08-17 22:38:20 +02:00
Erik Montnemery 6de6a5dc14
Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +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
Robert Hillis a9b9c4f13c
Add extra state attributes to goalzero (#52932)
* Add extra state attributes to goalzero

* tweak
2021-07-20 22:26:52 +02:00
Robert Hillis 5cd4471c67
Add sensor platform to goalzero (#49835)
* Add sensor platform to goalzero

* Tweak

* Remove unused DATA_SCHEMA

* Simplify

* Remove last_reset

* Update on reload
2021-07-02 17:43:37 +02:00