Commit Graph

129 Commits (944f2c9745888426f03a3b1fdb0a1f5e69da983b)

Author SHA1 Message Date
Ruslan Sayfutdinov 183220008d
Rename FlowResultDict to FlowResult (#49847) 2021-04-29 13:40:51 +02:00
J. Nick Koston a1fdf84dba
Reduce config entry setup/unload boilerplate G-J (#49737) 2021-04-27 16:09:59 +02:00
jan iversen 9685cefba4
Integrations h* - i*: Rename HomeAssistantType to HomeAssistant. (#49587) 2021-04-23 10:11:58 +02:00
HomeAssistant Azure 69c1721c2a [ci skip] Translation update 2021-04-22 00:02:50 +00:00
Dermot Duffy ccda903c17
Upgrade to the latest hyperion-py (#49448) 2021-04-20 22:08:08 +02:00
Marc Mueller c07646db5d
Update typing syntax (#49480)
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Dermot Duffy 1560c00db1
Use Hyperion human-readable effect names instead of API identifiers (#45763) 2021-04-19 23:46:18 +02:00
Ruslan Sayfutdinov 7a9385d857
Explicitly define all methods in ConfigFlow (#49341) 2021-04-17 12:42:31 +02:00
Ruslan Sayfutdinov 80f66f301b
Define data flow result type (#49260)
* Define data flow result type

* Revert explicit definitions

* Fix tests

* Specific mypy ignore
2021-04-15 07:17:07 -10:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure e86aad34b9 [ci skip] Translation update 2021-04-15 00:02:56 +00:00
Dermot Duffy 63d42867e8
Add Hyperion device support (#47881)
* Add Hyperion device support.

* Update to the new typing annotations.

* Add device cleanup logic.

* Fixes based on the excellent feedback from emontnemery
2021-04-13 10:35:38 +02:00
J. Nick Koston 4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth (#48962) 2021-04-09 19:41:29 -10:00
HomeAssistant Azure 82cc5148d7 [ci skip] Translation update 2021-04-07 00:04:06 +00:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
HomeAssistant Azure a1472b174c [ci skip] Translation update 2021-03-30 00:03:46 +00:00
Franck Nijhof 786023fce4
Merge of nested IF-IF cases - H-J (#48368) 2021-03-27 11:30:29 +01:00
HomeAssistant Azure d5afd0afb3 [ci skip] Translation update 2021-03-26 00:04:15 +00:00
HomeAssistant Azure 6660fb7478 [ci skip] Translation update 2021-03-25 00:03:36 +00:00
HomeAssistant Azure c4e5af8081 [ci skip] Translation update 2021-03-24 00:03:09 +00:00
Franck Nijhof 6932cf9534
Use contextlib.suppress where possible (#48189) 2021-03-23 14:36:43 +01:00
HomeAssistant Azure 55b689b464 [ci skip] Translation update 2021-03-23 00:03:29 +00:00
Dermot Duffy 781084880b
Add an option to hide selected Hyperion effects (#45689) 2021-03-22 15:59:12 +01:00
Marc Mueller 5cdd945f44
Update typing 08 (#48058) 2021-03-18 09:25:40 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Franck Nijhof 5d5a110a20
None optional hass typing in base entity and notify (#47528) 2021-03-15 15:11:41 +01:00
Quentame 198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Ville Skyttä dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Dermot Duffy 61f509bdd8
Minor Hyperion mypy cleanups (#45765) 2021-03-01 18:10:28 +01:00
HomeAssistant Azure 44ed6cda40 [ci skip] Translation update 2021-03-01 00:09:01 +00:00
HomeAssistant Azure 9159f54900 [ci skip] Translation update 2021-02-24 00:04:14 +00:00
HomeAssistant Azure 0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
HomeAssistant Azure d9ce7db554 [ci skip] Translation update 2021-02-19 00:03:06 +00:00
HomeAssistant Azure 1bb535aa67 [ci skip] Translation update 2021-02-16 00:03:57 +00:00
Franck Nijhof bc1daf1802
None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Joakim Sørensen 917a616ce1
Replace parse_version with AwesomeVersion (#46329) 2021-02-10 15:58:26 +01:00
Paulus Schoutsen 9e07910ab0
Mark entities as unavailable when they are removed but are still registered (#45528)
* Mark entities as unavailable when they are removed but are still registered

* Add sync_entity_lifecycle to collection helper

* Remove debug print

* Lint

* Fix tests

* Fix tests

* Update zha

* Update zone

* Fix tests

* Update hyperion

* Update rfxtrx

* Fix tests

* Pass force_remove=True from integrations

Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
HomeAssistant Azure ce159d7db3 [ci skip] Translation update 2021-02-06 00:07:22 +00:00
Paulus Schoutsen 959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
Dermot Duffy c66a892233
Remove YAML support from Hyperion integration (#45690) 2021-01-29 09:05:00 +01:00
Dermot Duffy 890eaf840c
Add advanced Hyperion entities (#45410)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-27 09:35:13 +01:00
Dermot Duffy 568962552b
Remove hyperion entry from registry only when instances are fully removed (#44488) 2021-01-26 21:39:02 +01:00
starkillerOG c16fd0a1ac
Set hyperion icon to lightbulb when off (#45351)
Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
2021-01-26 10:46:54 +01:00
starkillerOG 3647d549b0
Fix Hyperion brightness setting (#45335) 2021-01-26 10:45:41 +01:00
Dermot Duffy e40f0bf429
Disconnect Hyperion client in error conditions (#45411) 2021-01-23 06:21:38 +01:00
Dermot Duffy 30622b5575
Bump required hyperion-py version (#45385) 2021-01-21 09:32:16 +01:00
HomeAssistant Azure 6b743c3d16 [ci skip] Translation update 2020-12-24 00:03:44 +00:00
Dermot Duffy 769513d6a8
Bump hyperion-py to 0.6.1 (#44490) 2020-12-23 21:46:04 +01:00
HomeAssistant Azure 139fb518d6 [ci skip] Translation update 2020-12-23 00:03:22 +00:00
HomeAssistant Azure f3cabe97e0 [ci skip] Translation update 2020-12-21 00:04:09 +00:00
HomeAssistant Azure 5bdf022bf2 [ci skip] Translation update 2020-12-20 00:04:36 +00:00
HomeAssistant Azure 1ac937c7d5 [ci skip] Translation update 2020-12-19 00:03:56 +00:00
Dermot Duffy 8c8e607548
Alphabetize hyperion const.py (#44343) 2020-12-18 08:03:54 +01:00
HomeAssistant Azure 4bdb793a94 [ci skip] Translation update 2020-12-18 00:03:48 +00:00
Dermot Duffy c8e3b17362
Update quality_scale for Hyperion (#44306) 2020-12-17 17:01:22 +01:00
HomeAssistant Azure d3255e63e3 [ci skip] Translation update 2020-12-17 00:02:51 +00:00
Dermot Duffy aaae452d58
Add reauth step to Hyperion config flow (#43797)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-16 23:55:31 +01:00
HomeAssistant Azure 9e1647d634 [ci skip] Translation update 2020-12-15 00:04:49 +00:00
Paulus Schoutsen 594e905742
Remove invalidation_version from deprecated (#44156)
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases

* Revert change to ZHA
2020-12-12 22:24:16 +01:00
HomeAssistant Azure 848224262c [ci skip] Translation update 2020-12-10 00:03:01 +00:00
HomeAssistant Azure 0fc33bd6bf [ci skip] Translation update 2020-12-09 00:03:07 +00:00
HomeAssistant Azure 9c63fbfcb1 [ci skip] Translation update 2020-12-07 00:04:18 +00:00
HomeAssistant Azure 6e74f90136 [ci skip] Translation update 2020-12-05 00:03:50 +00:00
HomeAssistant Azure 42f00cff30 [ci skip] Translation update 2020-12-04 00:05:42 +00:00
Franck Nijhof f2a371257d
Translation update 2020-12-02 20:51:05 +01:00
Dermot Duffy 39601090ba
Automatically select "Solid" effect in Hyperion (#43799) 2020-12-02 19:40:49 +01:00
HomeAssistant Azure fc42f59b0b [ci skip] Translation update 2020-12-02 00:03:14 +00:00
HomeAssistant Azure cf9598fe4f [ci skip] Translation update 2020-12-01 00:03:00 +00:00
Dermot Duffy 7ad2a6be30
Add hyperion config options flow (#43673) 2020-11-30 18:38:52 +01:00
Dermot Duffy 83e843820b
Use the beautiful ambient light icon (#42153) 2020-10-21 11:00:19 +02:00
Dermot Duffy 0a656f13eb
Fix/Refactor Hyperion Integration (#39738) 2020-09-24 21:37:34 +02:00
Erik Montnemery e4333a7a44
Rename Light to LightEntity (#34593) 2020-04-26 18:49:41 +02:00
springstan c20a965eda
Improve string formatting v3 (#33667)
* Improve string formatting v3

* Address review comment
2020-04-05 01:32:58 +02:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Franck Nijhof c7da781efc Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen cfe4cf30ad
Add manifests (#22699)
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Fabian Affolter 4c4eff1d62
Update file header (#22318)
* Update file header

* Fix indent

* Fix lint issue
2019-03-23 22:05:47 +01:00
Paulus Schoutsen f5076188ef
Consolidate all platforms that have no tests (#22096)
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00