Commit graph

32 commits

Author SHA1 Message Date
epenet
1e352b60df
Add type hints to integration tests (part 11) () 2023-02-13 14:22:49 +01:00
Franck Nijhof
c56832bb2c
Enable Ruff SIM300 () 2023-01-30 11:03:23 +01:00
epenet
4eb46d45ca
Cleanup deprecated async_get_registry in tests () 2022-05-18 13:12:38 +02:00
epenet
7d2363ad22
Use light enums in tests () 2022-04-26 16:32:00 +02:00
Erik Montnemery
6b4e0c744c
Migrate hyperion light to color_mode () 2022-04-04 17:39:21 +02:00
Franck Nijhof
9e33a3014c
Automatically add entry title as name placeholder in reauth () 2022-01-18 14:18:16 -08:00
Ville Skyttä
5bf67cac66
Use RegistryEntryDisabler () 2021-12-15 23:25:40 +02:00
Ville Skyttä
9864f2ef8b
String formatting cleanups () 2021-07-13 00:12:55 +02:00
Ville Skyttä
7d03b02192
Spelling fixes () 2021-06-11 13:35:03 +02:00
Dermot Duffy
c057c9d9ab
Add Hyperion camera feed ()
* Initial Hyperion camera.

* Improve test coverage.

* Minor state fixes.

* Fix type annotation.

* May rebase and updates (mostly typing).

* Updates to use new camera typing improvements.

* Use new support for returning None from async_get_mjpeg_stream .

* Codereview feedback.

* Lint: Use AsyncGenerator from collections.abc .

* Update homeassistant/components/hyperion/camera.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-06-02 09:39:19 -07:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ()
* Change config entry state to an enum

* Allow but deprecate EntryState str equality comparison

* Test fixes

* Rename to ConfigEntryState

* Remove str comparability backcompat

* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
jan iversen
9685cefba4
Integrations h* - i*: Rename HomeAssistantType to HomeAssistant. () 2021-04-23 10:11:58 +02:00
Ville Skyttä
a396619251
Use disabled_by constants ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
Dermot Duffy
1560c00db1
Use Hyperion human-readable effect names instead of API identifiers () 2021-04-19 23:46:18 +02:00
Dermot Duffy
63d42867e8
Add Hyperion device support ()
* 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 () 2021-04-09 19:41:29 -10:00
Dermot Duffy
781084880b
Add an option to hide selected Hyperion effects () 2021-03-22 15:59:12 +01:00
Marc Mueller
54d1e9985f
Update typing 15 () 2021-03-18 15:13:22 +01:00
Erik Montnemery
87e7cebd36
Update tests c-h to use registry async_get () 2021-03-09 14:31:17 +01:00
tkdrob
a5a45f29e2
Cleanup unused loggers () 2021-02-14 13:46:58 +01:00
Dermot Duffy
c66a892233
Remove YAML support from Hyperion integration () 2021-01-29 09:05:00 +01:00
Dermot Duffy
890eaf840c
Add advanced Hyperion entities ()
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 () 2021-01-26 21:39:02 +01:00
starkillerOG
c16fd0a1ac
Set hyperion icon to lightbulb when off ()
Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
2021-01-26 10:46:54 +01:00
starkillerOG
3647d549b0
Fix Hyperion brightness setting () 2021-01-26 10:45:41 +01:00
Dermot Duffy
e40f0bf429
Disconnect Hyperion client in error conditions () 2021-01-23 06:21:38 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Dermot Duffy
aaae452d58
Add reauth step to Hyperion config flow ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-16 23:55:31 +01:00
Dermot Duffy
39601090ba
Automatically select "Solid" effect in Hyperion () 2020-12-02 19:40:49 +01:00
Dermot Duffy
7ad2a6be30
Add hyperion config options flow () 2020-11-30 18:38:52 +01:00
Paulus Schoutsen
e303064f75
Don't use asynctest directly () 2020-10-06 10:15:50 +02:00
Dermot Duffy
0a656f13eb
Fix/Refactor Hyperion Integration () 2020-09-24 21:37:34 +02:00