Commit Graph

283 Commits (d4586fb2e4c0d931658e5c0cb434b15fd37d19d8)

Author SHA1 Message Date
epenet bc8a2b58d3
Use new ServiceInfo location in components (part 1) (#135682) 2025-01-15 15:43:46 +01:00
epenet 0bbca596a9
Use reauth helpers in braviatv config flow (#127437) 2024-10-03 19:49:28 +02:00
epenet 409d7b3652
Use _get_reauth_entry in braviatv config flow (#127326) 2024-10-03 10:16:06 +02:00
Erik Montnemery 81d7d2a70a
Ensure braviatv config flow title_placeholders items are [str, str] (#127287) 2024-10-02 14:20:55 +02:00
Maciej Bieniek 11bb8e402e
Use Bravia TV MAC address in `DeviceInfo.connections` (#126519) 2024-09-23 14:18:09 +02:00
epenet 4afc472068
Use root import for media_player and media_source (#125828)
* Use root import for media_player and media_source

* One more
2024-09-12 15:38:53 +02:00
Artem Draft 85a47ffb68
Bump pybravia to 0.3.4 (#124113) 2024-08-17 16:30:26 +02:00
Marc Mueller 34bd291615
Use PEP 695 for decorator typing (1) (#117638) 2024-05-17 16:27:02 +02:00
Maciej Bieniek 63484fdadd
Store BraviaTV data in config_entry.runtime_data (#116778) 2024-05-04 15:50:33 +02:00
Sid 0d66d298ec
Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Joost Lekkerkerker e160d036d9
Remove entity description mixin in Bravia TV (#112395)
* Remove entity description mixin in Bravia TV

* Remove entity description mixin in Bravia TV
2024-03-05 17:29:28 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Artem Draft a7a19786cc
Handle media position in Bravia TV (#107080)
Handle media position in BraviaTV
2024-02-22 16:22:07 +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 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker ac53b78a0c
Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
Maciej Bieniek 66d24b38aa
Add diagnostics platform to BraviaTV (#105603)
* Add diagnostics platform

* Add test

* Improve test

* Use consts

* Fix test

* Patch methods

* Patch methods
2023-12-13 08:18:50 +01:00
Maciej Bieniek 8c56b5ef82
Add a host field description for Bravia, Brother and NAM (#104689) 2023-11-29 09:35:38 +01:00
Rami Mosleh d523734db1
Display channel number in Bravia TV if title is not available (#99567)
Display channel number if title is not available
2023-09-06 08:35:34 +02: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
Franck Nijhof 30058297cf
Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
Joost Lekkerkerker c34194d8e0
Use device class naming for BraviaTV (#96564) 2023-07-16 22:34:40 +02:00
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Maciej Bieniek c7e460ccab
Return `None` as BraviaTV media_player/remote entity name (#94804) 2023-06-19 12:04:50 +02:00
Artem Draft d417cbaf0f
Bump pybravia to 0.3.3 (#92378) 2023-05-03 08:52:56 +02:00
Maciej Bieniek 1eadc63cd5
Add entity name translations to BraviaTV (#90702)
Add entity name translations
2023-04-03 07:40:52 -04:00
epenet 3b83340f6e
Improve get_browse_image type hints in media player (#90057) 2023-03-26 19:54:01 +02:00
epenet f56bf134d2
Improve browse_media type hints in media player (#90060)
* Improve browse_media type hints in media player

* Adjust components

* Adjust base entity
2023-03-24 21:49:12 -07:00
Nick Borgers a7396af4bb
Bump pybravia to 0.3.2 (#89635) 2023-03-13 16:06:29 +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
Erik Montnemery 87420e949d
Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action 3f992ed31d [ci skip] Translation update 2023-02-04 00:23:44 +00:00
Artem Draft 3ccd0ef013
Fix Bravia TV refreshing zero volume level (#87318)
fixes undefined
2023-02-03 23:22:33 +01:00
Artem Draft 02e973026d
Add browse media and play media support in Bravia TV (#85288)
* Add media browsing and play media support in Bravia TV

* Add fix invalid Bravia Content-Type header for icons

* Avoid duplicates in source_list

* Small cleanup

* Edit comment

* Revert en.json
2023-01-24 14:31:09 +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
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Artem Draft a87a9790e9
Bump pybravia to 0.3.1 (#86153)
fixes undefined
2023-01-18 12:24:04 +01:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
GitHub Action 6ce88cd5af [ci skip] Translation update 2023-01-09 00:23:57 +00:00
GitHub Action 2976f843b5 [ci skip] Translation update 2023-01-07 00:22:33 +00:00
GitHub Action bdd87bcc87 [ci skip] Translation update 2023-01-06 00:23:50 +00:00
Artem Draft 49885757db
Bump pybravia to 0.3.0 (#85127) 2023-01-05 11:34:07 +01:00
GitHub Action 01e99c0229 [ci skip] Translation update 2023-01-05 00:23:39 +00:00
GitHub Action 5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
GitHub Action 6220804639 [ci skip] Translation update 2023-01-02 00:23:28 +00:00
Artem Draft ed0e583556
Assumed state in Bravia TV media player (#84885) 2023-01-01 18:07:14 +01:00