Commit graph

16 commits

Author SHA1 Message Date
Joost Lekkerkerker
cd48278671
Extract Geniushub base entities in separate module (#122331) 2024-07-23 09:34:00 +02:00
GeoffAtHome
890b54e36f
Add config flow to Genius hub (#116173)
* Adding config flow

* Fix setup issues.

* Added test for config_flow

* Refactor schemas.

* Fixed ruff-format on const.py

* Added geniushub-cleint to requirements_test_all.txt

* Updates from review.

* Correct multiple logger comment errors.

* User menu rather than check box.

* Correct logger messages.

* Correct test_config_flow

* Import config entry from YAML

* Config flow integration

* Refactor genius hub test_config_flow.

* Improvements and simplification from code review.

* Correct tests

* Stop device being added twice.

* Correct validate_input.

* Changes to meet code review three week ago.

* Fix Ruff undefined error

* Update homeassistant/components/geniushub/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/geniushub/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Change case Cloud and Local to CLOUD and LOCAL.

* More from code review

* Fix

* Fix

* Update homeassistant/components/geniushub/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-21 19:57:41 +02:00
Marc Mueller
3a5acd6a57
Use VolDictType for service schemas (#120403) 2024-06-25 12:33:41 +02:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
GeoffAtHome
c4fbc78c05
Fix geniushub smart plug state at start-up (#102110)
* Smart plug did state wrong at start-up

* Update docstring to reflect code
2023-12-05 14:03:39 +01:00
Andrew Westrope
cc6721c06b
Check type key of zone exists in geniushub (#86798)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-05 13:51:02 +01:00
epenet
b043053aad
Improve entity type hints [g] (#77145) 2022-08-26 11:37:12 +02:00
epenet
f3af0781f8
Add setup type hints [f-g] (#63599)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:48:54 +01:00
epenet
3cfc349e99
Use new DeviceClass enum in geniushub (#61608)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 17:39:38 +01:00
Franck Nijhof
d4565c0e27
Fix Genius Hub entity service schema (#50024) 2021-05-03 09:41:59 -07:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere (#50034) 2021-05-03 09:34:28 -07:00
jan iversen
d168749a51
Integrations: HomeAssistantType --> HomeAssistant. Last batch. (#49591) 2021-04-23 10:34:02 +02:00
GeoffAtHome
da713e206d
Add override duration for genius hub switches (#45558) 2021-01-29 12:44:56 +01:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity (#34673) 2020-04-26 18:50:37 +02:00
Bas Nijholt
d58e6e924a Sort imports according to PEP8 for components starting with "G" (#29767) 2019-12-09 14:17:36 +01:00
Jess
5b85456759 Add switches (on/off zones) to geniushub (#28182)
* New switch platform for geniushub
* Update to new geniushub-client with support for on/off zones
2019-11-04 13:32:33 +00:00