Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
ollo69
f0f3773858
Add base class AndroidTVEntity to AndroidTV ( #105945 )
2024-02-22 12:38:38 -10:00
Marc Mueller
4e0c0cf2ca
Enable strict typing for androidtv ( #106820 )
2024-01-01 20:15:01 +01:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
ollo69
2cfc11d4b9
Limit AndroidTV screencap calls ( #96485 )
2023-07-24 19:58:11 +02:00
Joost Lekkerkerker
1097bde71b
Migrate AndroidTV to has entity name ( #96572 )
2023-07-18 09:56:57 +02:00
ollo69
c95e2c074c
Add missing type hints for AndroidTV ( #96554 )
...
* Add missing type hints for AndroidTV
* Suggested change
2023-07-15 02:18:34 +02:00
Franck Nijhof
3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap ( #94359 )
2023-06-27 17:42:46 +02:00
tronikos
b52fab0f6d
Rename Android TV to Android Debug Bridge ( #90657 )
...
* Rename Android TV to Android debug bridge
* More renaming
2023-04-02 14:22:16 -04:00
Marc Mueller
b478b4fa16
Add ParamSpec TypeAliases [mypy 1.0] ( #87597 )
2023-02-07 15:56:26 +01:00
ollo69
772df02cce
Catch AndroidTV exception on setup ( #86819 )
...
fixes undefined
2023-01-30 22:42:32 +01:00
Marc Mueller
45b4b0e990
Import `ParamSpec` from typing [Py310] ( #86413 )
...
* Import ParamSpec from typing [Py310]
* Update additional imports
2023-01-23 07:28:43 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
ollo69
aa46ba4ad5
Add device class TV to AndroidTV ( #78487 )
2022-09-15 08:56:30 +02:00
epenet
9a5fe950a4
Use new media player enums [a-d] ( #77939 )
2022-09-08 11:03:10 +02:00
epenet
65eb1584f7
Improve entity type hints [a] ( #76986 )
2022-08-18 15:56:52 +02:00
Marc Mueller
a46b38d648
Type androidtv error decorator ( #70976 )
2022-04-28 20:51:21 +02:00
ollo69
21f9b19fad
Review AndroidTV tests ( #69048 )
2022-04-26 23:26:22 -07:00
Jeff Irion
0df30782a6
Bump androidtv to 0.0.67 (improve connect attempt logging) ( #69721 )
2022-04-13 09:38:07 +02:00
epenet
246f4e081a
Use EntityFeature enum in components (a**) ( #69333 )
2022-04-05 23:42:05 +02:00
ollo69
17ddbb4983
Restore AndroidTV entity name from migration ( #68756 )
2022-03-27 14:57:15 -10:00
Marc Mueller
53110f8cb7
Update pylint to 2.13.2 ( #68704 )
2022-03-27 16:08:24 +02:00
Marc Mueller
911b159281
Cleanup after pylint update ( #68657 )
2022-03-26 00:34:12 +01:00
Robert Hillis
a11a5366be
Remove deprecated yaml config from androidtv ( #68339 )
2022-03-22 20:45:35 -07:00
ollo69
341d039252
Improve androidtv mac address handling and test coverage ( #65749 )
...
* Better mac addr handling and improve test coverage
* Apply suggested changes
* Apply more suggested changes
2022-02-06 14:15:50 -08:00
Jeff Irion
1e9a0c0609
Fix the Android TV volume mute service ( #64403 )
...
* Fix the Android TV volume mute service
* Update homeassistant/components/androidtv/media_player.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* assert mute_volume.called
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-19 18:55:46 +02:00
ollo69
a978661545
Address late review of Minor AndroidTV config flow ( #64088 )
...
* Minor changes for AndroidTV config flow
* Add mark.parametrize to media_player tests
2022-01-14 02:05:35 +01:00
Erik Montnemery
03593aa21b
Import persistent notification (part 2) ( #63899 )
2022-01-13 08:42:50 +01:00
epenet
eafece3651
Add setup type hints (part 1) ( #63955 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 08:49:46 +01:00
ollo69
5a41251d45
Add config_flow to AndroidTV integration ( #54444 )
...
Co-authored-by: Robert Hillis <tkdrob4390@yahoo.com>
2021-12-20 13:08:35 -06:00
Marc Mueller
ea2e94a4e5
Use assignment expressions 24 ( #58181 )
2021-10-22 14:07:19 +02:00
Marc Mueller
48bada5a18
Update pylint to 2.11.1 ( #56364 )
2021-09-18 13:52:59 +02:00
Robert Hillis
0b52e13eb8
Fix androidtv media_image_hash ( #54188 )
2021-08-07 07:18:08 +02:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) ( #53685 )
2021-07-30 01:20:03 +02:00
Marc Mueller
46c3495ae0
Update pylint to 2.9.5 ( #53496 )
2021-07-26 16:17:15 +02:00
Robert Hillis
c7b61fd8ce
Use entity class attributes for androidtv ( #52531 )
...
* Use entity class attributes for androidtv
* fix
* fix pylint
* fix
2021-07-15 15:35:42 +02:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere ( #50034 )
2021-05-03 09:34:28 -07:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Jeff Irion
cfc8e96b15
Handle overriding of default apps for Android TV ( #41893 )
...
* Handle overriding of default apps for Android TV
* Fix comment
2020-11-05 16:41:22 +01:00
Diederik van den Burger
60234ecf40
Add hdmi input attribute to AndroidTV ( #42571 )
...
* bumps androidtv to 0.0.53
* add hdmi_input attribute to androidtv
* update tests for hdmi_input attribute
* chore: update docstrings
2020-11-05 14:36:46 +01:00
springstan
228e167b03
Remove unnecessary should poll from media player classes ( #41220 )
2020-10-04 21:26:09 +02:00
Jeff Irion
68d75a879b
Fix Android TV 'async_get_media_image' ( #40672 )
2020-09-28 16:04:08 +02:00
Jeff Irion
285408b46c
Bump androidtv to 0.0.50 ( #39998 )
2020-09-12 23:53:41 +02:00
Jeff Irion
ad0d3b4848
Improve handling of exceptions in Android TV ( #39229 )
...
* Close the ADB connection when there is an exception
* Add a test
* Split a comment onto two lines
* Fix test ('async_update' -> 'async_update_entity')
* 'close' -> 'Close'
2020-08-29 21:56:25 -05:00
Ville Skyttä
1bf2c4d976
Upgrade pylint to 2.6.0 ( #39363 )
2020-08-29 07:59:24 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Jeff Irion
071b8ed8a5
Fix Android TV ADB authorization ( #38471 )
2020-08-02 09:08:12 -05:00
Jeff Irion
2c3618e2c7
Close androidtv ADB socket connection when Home Assistant stops ( #37973 )
...
* Close the ADB connection on HA stop
* Get the test to pass
* Remove unnecessary test code
* Register the callback sooner
* '_async_stop' -> 'async_close'
* 'async_close' method -> '_async_close' function
2020-07-20 02:48:08 +02:00