Commit Graph

8 Commits (f89de613d9449f1edd717f00f333dd0546985fb4)

Author SHA1 Message Date
epenet 7967f49e48
Add light setup type hints [s-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:43:55 +01:00
Baptiste Candellier 3062312649
Add config flow + async support for SmartHab integration ()
* Setup barebones SmartHab config flow

* Setup authentication flow

* Make setup async, add config flow receivers

* Add French translation

* Fix async issues

* Address review comments (thanks bdraco!)

* Fix unloading entries

* Migrate translations dir according to warning

* Create list of components

* Fix pylint false positive

* Fix bad copy-pastes 🤭

* Add async support to SmartHab component

* Address review comments (bdraco)

* Fix pylint

* Improve exception handling (bdraco)

* Apply suggestions from code review (bdraco)

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

* Don't log exceptions manually, fix error

* Reduce repeated lines in async_step_user (bdraco)

* Remove useless else (pylint)

* Remove broad exception handler

* Create strings.json + remove fr i18n

* Write tests for smarthab config flow

* Test import flow

* Fix import test

* Update homeassistant/components/smarthab/config_flow.py

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-05 14:20:51 -05:00
Erik Montnemery e4333a7a44
Rename Light to LightEntity () 2020-04-26 18:49:41 +02:00
springstan 1ee7c483a7
Update file headers and outdated documentation links ()
* Update documentation links

* Update file headers v2
2020-02-20 15:29:46 -08:00
Michał Mrozek c42ca94a86 move imports in smarthab component () 2019-10-20 12:14:07 +02:00
Franck Nijhof d4a67e3a30 Update documentation link URL for integrations (part2) () 2019-10-02 09:34:07 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Baptiste Candellier 1a051f038d Add new SmartHab light and cover platform ()
* Add SmartHab platform

* Remove url config entry, improve error handling

* Upgrade smarthab dependency

* Address comments

* Lint
2019-05-13 03:35:31 -07:00