Commit Graph

15 Commits (234715a8c68d843bf2f4198e90dfe1728fb77678)

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
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 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 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
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
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
tkdrob 6627ffff39
Clean up goalzero (#40817)
* cleanup goalzero code

* more cleanup

* mroe cleanup

* log defined exception to error

* return None if not configured

* return False if not configured
2020-10-01 16:15:24 +02:00
tkdrob 67a7b28c84
Add Integration for Goal Zero Yeti Power Stations (#39231)
* Add Integration for Goal Zero Yeti Power Stations

* Goal Zero Yeti integration with config flow

* Remove unused entities

* Remove entry from requirements_test_all

* Pylint fix

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Add tests for goalzero integration

* Fix UNIT_PERCENTAGE to PERCENTAGE

* isort PERCENTAGE

* Add tests

* Add en translation

* Fix tests

* bump goalzero to 0.1.1

* fix await

* bump goalzero to 0.1.2

* Update tests/components/goalzero/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* apply recommended changes

* isort

* bump goalzero to 0.1.4

* apply recommended changes

* apply recommended changes

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-27 12:44:21 -05:00