Commit Graph
66 Commits
Author SHA1 Message Date
Marc MuellerandGitHub 8c053a351c Use runtime_data for elgato (#116614) 2024-05-06 19:12:01 +02:00
Joost LekkerkerkerandGitHub 9b41e3d124 Use is in enum comparison in config flow tests A-E (#114669) 2024-04-02 11:22:05 -10:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
Erik MontnemeryandGitHub 426f73b1f4 Add State.last_reported (#113511)
* Add State.last_reported

* Update tests

* Update test snapshots

* Call state_reported listeners when firing state_changed event

* Add tests
2024-03-20 21:05:07 +01:00
Marc MuellerandGitHub 32f3f46542 Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
Marc MuellerandGitHub 38adfbf1a3 Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
Joost LekkerkerkerandGitHub c8f340966e Add icon translations to Elgato (#111423) 2024-03-06 11:49:36 +01:00
Franck NijhofandGitHub e0a9dcd996 Add label registry (#110821) 2024-02-19 11:59:08 +01:00
Erik MontnemeryandGitHub 6908497c3d Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
Franck NijhofandGitHub 8371fe520e Update elgato to 5.1.0 (#103530) 2023-11-06 20:24:01 +01:00
877410bb9d Add serial number to Elgato (#102524)
Co-authored-by: Franck Nijhof <[email protected]>
2023-10-22 20:32:02 +02:00
1621310ba7 Add serial_number to device registry entries (#102334)
Co-authored-by: Joost Lekkerkerker <[email protected]>
2023-10-22 15:14:44 +02:00
Paul BotteinandGitHub c98c18f25e Return 'None' for light attributes when off instead of removing them (#101946) 2023-10-19 01:08:08 +02:00
J. Nick KostonandGitHub 433c022687 Save previous unique id in entity registry when it changes (#102093) 2023-10-16 21:26:19 -10:00
J. Nick KostonandGitHub 0eca433004 Update zeroconf discovery to use IPAddress objects to avoid conversions (#100567) 2023-09-19 18:58:46 +02:00
Franck NijhofandGitHub 48776f86dc Use identify device class in Elgato identify button entity (#95361)
* Use identify device class in Elgato identify button entity

* Clean up strings
2023-06-27 13:59:49 -04:00
Franck NijhofandGitHub a2f9caa482 Clean up device class based entity translations in Elgato (#95122)
* Clean up device class based entity translations in Elgato

* Update snapshots
2023-06-24 12:45:47 +02:00
epenetandGitHub 7b3a932cd9 Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
epenetandGitHub e0ec3488d3 Adjust IntFlag handling in syrupy (#90223) 2023-03-26 14:20:05 +02:00
Franck NijhofandGitHub 5c839e2367 Add entity name translations to Elgato (#89629) 2023-03-25 23:06:03 +01:00
epenetandGitHub ec5c3d6330 Add type hints to integration tests (#88476) 2023-02-20 11:43:51 +01:00
Franck NijhofandGitHub 68e1aaa0be Refactor Elgato tests (#88376) 2023-02-19 20:14:18 +01:00
Franck NijhofandGitHub 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
epenetandGitHub 1e352b60df Add type hints to integration tests (part 11) (#87996) 2023-02-13 14:22:49 +01:00
6359775cfc Add more entities for Elgato Key Light Mini (#87793)
Co-authored-by: Paulus Schoutsen <[email protected]>
2023-02-13 11:54:50 +01:00
Erik MontnemeryandGitHub cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck NijhofandGitHub 1c3713d08f Add studio mode switch to Elgato (#87691) 2023-02-08 11:42:53 +01:00
Franck NijhofandGitHub 6582367917 Add battery sensor to Elgato (#87680) 2023-02-08 10:22:12 +01:00
Franck NijhofandGitHub c25bff9389 Tweak Elgato tests (#87629) 2023-02-07 19:14:13 +01:00
Franck NijhofandGitHub d389de71f5 Coordinator refactor in Elgato (#87490) 2023-02-05 21:54:30 +01:00
Franck NijhofandGitHub 1cd7f221d5 Update elgato to 4.0.1 (#87479) 2023-02-05 19:22:15 +01:00
epenetandGitHub 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 NijhofandGitHub 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 NijhofandGitHub 0f813b61c3 Migrate Elgato to new entity naming style (#74590) 2022-07-09 23:41:04 +02:00
Franck NijhofandGitHub a6244eea28 Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
Franck NijhofandGitHub 320ef55085 Automatically onboard Elgato (#73847) 2022-06-22 22:37:25 +02:00
Franck NijhofandGitHub 05d7d31dfd Improve Elgato error handling (#73444) 2022-06-15 12:12:07 +02:00
epenetandGitHub 7d2363ad22 Use light enums in tests (#70801) 2022-04-26 16:32:00 +02:00
Joshua RoysandGitHub 9134e5c844 Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Franck NijhofandGitHub 2e1ac711fb Add Elgato hw version to device info (#64922) 2022-01-25 20:29:18 +01:00
Franck NijhofandGitHub 6c54267f57 Add diagnostics support to Elgato (#64652) 2022-01-23 09:02:14 +01:00
Franck NijhofandGitHub e982df5199 Add DataUpdateCoordinator to Elgato (#64642) 2022-01-21 10:38:02 -08:00
Franck NijhofandGitHub 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 NijhofandGitHub b1848cd2f4 Modernize Elgato tests (#64060) 2022-01-14 17:16:59 +01:00
Franck NijhofandGitHub 754e291e1e Remove unused serial number config entry data from Elgato (#64035) 2022-01-13 13:17:16 +01:00
Dave TandGitHub 9e4f720591 Use DeviceClass Enums in elgato tests (#62121) 2021-12-16 22:07:52 +01:00
1d3fbc93a0 Update ZeroconfServiceInfo in tests (a-f) (#60212)
Co-authored-by: epenet <[email protected]>
2021-11-23 09:32:58 -06:00
ce9385d442 Use zeroconf attributes in elgato (#58958)
Co-authored-by: epenet <[email protected]>
2021-11-15 20:04:21 +01:00
cce441332f Add button platform to Elgato (#59628)
Co-authored-by: Martin Hjelmare <[email protected]>
2021-11-13 14:15:14 +01:00
Paulus SchoutsenandGitHub 31153ac155 Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00