Commit Graph

26 Commits (f0eb0849088aa843d3ab8b479f2a734eeb3d6414)

Author SHA1 Message Date
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 9580c4f1ec
Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
epenet 68857dc272
Use UnitOfTime in integrations (a-g) (#84288) 2022-12-20 13:22:20 +01:00
epenet 0dd20fb309
Use UnitOfEnergy in integrations (a-n) (#84220) 2022-12-19 11:06:00 +01:00
epenet 0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet 4fe025b297
Use UnitOfPower in integrations [a-g] (#83812) 2022-12-12 11:48:09 +01:00
epenet 7c3ca38eb7
Use UnitOfElectricCurrent in integrations (#83622) 2022-12-09 10:51:26 +01:00
Franck Nijhof de352c520c
Fix Goalzero time to empty sensor device class (#83389)
* Fix Goalzero time to empty sensor device class

* Fix tests
2022-12-06 12:14: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
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