Commit Graph

32 Commits (f1b7847d1c1a6c72df564f2379a6332b93a75b06)

Author SHA1 Message Date
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
J. Nick Koston 469b01bd64
Migrate apple_tv to use async_schedule_reload (#115241) 2024-04-09 07:05:23 -10:00
Sid 6587ee20db
Enable Ruff TRY300 (#114437)
* Enable Ruff TRY300

* Update validation.py

* Address review comments
2024-03-30 10:37:59 +01:00
Sid 82a60fe8ad
Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
G Johansson 4bdcab7cc2
Rename reconfigure step in apple_tv (#112438) 2024-03-05 21:36:46 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Stackie Jia 636c7ce350
Enable strict type checking on apple_tv integration (#101688)
* Enable strict type checking on apple_tv integration

* move some instance variables to class variables

* fix type of attr_value

* fix tests for description_placeholders assertion

* nits

* Apply suggestions from code review

* Update remote.py

* Apply suggestions from code review

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update config_flow.py

* Improve test coverage

* Update test_config_flow.py

* Update __init__.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-15 15:17:00 +01:00
J. Nick Koston 426fce93aa
Use new config entry update/abort helper in apple_tv (#108688) 2024-01-22 13:24:03 -10:00
J. Nick Koston cfbfdf7949
Fix apple_tv IP Address not being updated from discovery (#107611) 2024-01-17 17:43:14 -10:00
J. Nick Koston afed45d5d0
Replace intersection with isdisjoint in apple_tv config flow (#106633) 2024-01-02 17:58:00 +01:00
J. Nick Koston 6c095a963d
Switch config flows use newer zeroconf methods to check IP Addresses (#100568) 2023-09-20 01:08:58 +02:00
Michał Modzelewski 33387bf418
Readable paired device names for Apple TV airplay and companion protocols (#93449)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-05-24 20:07:49 -05:00
J. Nick Koston 3a95a1fd8a
Fix ignored apple tvs being scanned over and over (#92150) 2023-04-28 09:52:20 +02:00
epenet e00808bea8
Use SchemaOptionsFlowHandler in apple_tv (#82688) 2022-11-25 16:09:01 +01:00
epenet 75efb54cc2
Adjust async_step_reauth in apple_tv (#74166) 2022-06-29 11:45:31 +02:00
epenet b589700651
Add async_get_options_flow type hints (a-m) (#73430) 2022-06-13 13:17:59 +02:00
J. Nick Koston d2dc9e6cbe
Filter IPv6 addresses from AppleTV zeroconf discovery (#68530) 2022-03-23 20:38:34 +01:00
J. Nick Koston 7112c5b52a
Use zeroconf for scanning in apple_tv (#64528) 2022-01-24 13:07:22 +01:00
J. Nick Koston 048102e053
Prevent apple_tv rediscovery from secondary identifiers (#61973) 2021-12-16 02:25:18 -06:00
J. Nick Koston 65ec251309
Fix updating apple_tv addresses (#61724) 2021-12-13 21:38:22 +01:00
J. Nick Koston 388fcac689
Reduce cpu requirements for apple_tv mdns and discovery (#61346)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-12-11 19:57:11 -10:00
Pierre Ståhl 3a56cfed3a
Update Apple TV integration to support tvOS 15 (#58665) 2021-12-06 13:04:18 +01:00
epenet bb92dd2467
Use dataclass properties in apple_tv discovery (#60557) 2021-11-30 08:31:25 +01:00
epenet b3ffc1e183
Adjust async_step_zeroconf signature for strict typing (#59503)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-15 18:05:45 +01:00
epenet e983370c27
Use zeroconf attributes (A-D) (#58835)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:06 -05:00
Marc Mueller f6b162bc39
Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Franck Nijhof d4d0b93d3b
Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10: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
Marc Mueller 16dcbf1467
Update pylint (#47205) 2021-02-28 22:09:01 -10: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
Pierre Ståhl edb246d696
Refactor Apple TV integration (#31952)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-12-02 17:01:55 +01:00