1
0
mirror of https://github.com/elisspace/core.git synced 2026-08-31 08:32:13 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
epenet
ec5c3d6330 Add type hints to integration tests (#88476) 2023-02-20 11:43:51 +01:00
Franck Nijhof
68e1aaa0be Refactor Elgato tests (#88376) 2023-02-19 20:14:18 +01:00
Franck Nijhof
6891eb7ed1 Add support for snapshot testing (#88323)
* Add support for snapshot testing

* Use snapshots in Elgato diagnostics test

* Use snapshots in Elgato sensor test

* Fix flake8 warning

* Slightly improve serialized output

* Remove snapshot naming in elgato sensor tests

* Improve snapshoting of via_device_id in device registry item

* Update pylint typehints plugin for snapshot fixture typing

* Use snapshots in Elgato configflow test

* Use snapshots in Bluetooth repair issue tests
2023-02-17 16:35:55 -05:00
epenet
1e352b60df Add type hints to integration tests (part 11) (#87996) 2023-02-13 14:22:49 +01:00
Franck Nijhof
6359775cfc Add more entities for Elgato Key Light Mini (#87793)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-13 11:54:50 +01:00
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
Franck Nijhof
1c3713d08f Add studio mode switch to Elgato (#87691) 2023-02-08 11:42:53 +01:00
Franck Nijhof
6582367917 Add battery sensor to Elgato (#87680) 2023-02-08 10:22:12 +01:00
Franck Nijhof
c25bff9389 Tweak Elgato tests (#87629) 2023-02-07 19:14:13 +01:00
Franck Nijhof
d389de71f5 Coordinator refactor in Elgato (#87490) 2023-02-05 21:54:30 +01:00
Franck Nijhof
1cd7f221d5 Update elgato to 4.0.1 (#87479) 2023-02-05 19:22:15 +01:00
epenet
a79be493e5 Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof
bcf32f8331 Mark required fields in FlowResult typedict (#84811)
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof
0f813b61c3 Migrate Elgato to new entity naming style (#74590) 2022-07-09 23:41:04 +02:00
Franck Nijhof
a6244eea28 Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
Franck Nijhof
320ef55085 Automatically onboard Elgato (#73847) 2022-06-22 22:37:25 +02:00
Franck Nijhof
05d7d31dfd Improve Elgato error handling (#73444) 2022-06-15 12:12:07 +02:00
epenet
7d2363ad22 Use light enums in tests (#70801) 2022-04-26 16:32:00 +02:00
Joshua Roys
9134e5c844 Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Franck Nijhof
2e1ac711fb Add Elgato hw version to device info (#64922) 2022-01-25 20:29:18 +01:00
Franck Nijhof
6c54267f57 Add diagnostics support to Elgato (#64652) 2022-01-23 09:02:14 +01:00
Franck Nijhof
e982df5199 Add DataUpdateCoordinator to Elgato (#64642) 2022-01-21 10:38:02 -08:00
Franck Nijhof
423674c0c9 Register MAC connection for Elgato devices (#64201)
* Register MAC connection for Elgato devices

* Add tests, fix name
2022-01-16 22:18:46 +01:00
Franck Nijhof
b1848cd2f4 Modernize Elgato tests (#64060) 2022-01-14 17:16:59 +01:00
Franck Nijhof
754e291e1e Remove unused serial number config entry data from Elgato (#64035) 2022-01-13 13:17:16 +01:00
Dave T
9e4f720591 Use DeviceClass Enums in elgato tests (#62121) 2021-12-16 22:07:52 +01:00
epenet
1d3fbc93a0 Update ZeroconfServiceInfo in tests (a-f) (#60212)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06:00
epenet
ce9385d442 Use zeroconf attributes in elgato (#58958)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 20:04:21 +01:00
Franck Nijhof
cce441332f Add button platform to Elgato (#59628)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-13 14:15:14 +01:00
Paulus Schoutsen
31153ac155 Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
J. Nick Koston
e6e8d7eded Convert color temperature to visible color in lights (#55219) 2021-08-25 21:56:36 +02:00
Ville Skyttä
19d25cd901 Change config entry state to an enum (#49654)
* 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
Franck Nijhof
ae692a003f Add support for Elgato Light Strip (#49988)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-05 16:41:32 -07:00
Franck Nijhof
0627b316e3 Add Identify service to Elgato integration (#49990) 2021-05-03 17:32:10 +02:00
Franck Nijhof
ad13a9295e Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
Franck Nijhof
62e49e545b Add confirm only for Elgato (#47684) 2021-03-10 01:53:00 +01:00
Erik Montnemery
87e7cebd36 Update tests c-h to use registry async_get (#47652) 2021-03-09 14:31:17 +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
Franck Nijhof
7148071be8 Improve Elgato code quality (#46505) 2021-02-13 23:50:25 +01:00
Paulus Schoutsen
5dac3883b0 Stub light profiles (#42232) 2020-10-23 16:28:21 +02:00
SNoof85
6a821d6a64 Use reference strings in elgato (#41063)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-02 20:55:54 +02:00
springstan
6a7caad8dc Use content type json constant (#40312) 2020-09-23 20:21:55 +02:00
Franck Nijhof
1c2ebdf307 Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Pedro Lamas
e422274085 Use IP Address (host) provided by mDNS on Elgato Key Light (#38539) 2020-08-05 11:26:17 +02:00
Franck Nijhof
3b14d9f375 Add unique ID to elgato config entries (#30486) 2020-01-04 22:45:11 +01:00
Franck Nijhof
cc9589cff2 Add Elgato Key Light integration (#29592)
* Add Elgato Key Light integration

* Remove passing in of hass loop

* Tweaks a comment

* Tweaks a function name

* Ensure domain namespace in data exists in entry setup
2019-12-08 09:26:31 +01:00