Commit Graph

241 Commits (c51e644203a0c93a791bc0d342d14a56728078fc)

Author SHA1 Message Date
Erik Montnemery f83c8de8d3
Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Steven Looman 8622beb8a7
Bump async-upnp-client to 0.43.0 (#136481) 2025-01-24 12:05:31 -10:00
epenet f7f6c1163d
Use new SsdpServiceInfo location in remaining components (#136053) 2025-01-20 11:40:00 +01:00
epenet 476935050a
Use new ServiceInfo location in dlna_dmr (#135691) 2025-01-16 13:41:09 +01:00
Marc Mueller 6060f637a8
Update getmac to 0.9.5 (#135506) 2025-01-13 14:47:32 +01:00
Steven Looman 0ba32e1d3a
Bump async-upnp-client to 0.42.0 (#133806) 2024-12-22 07:18:05 -10:00
epenet d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
Steven Looman 39e65c8586
Bump async-upnp-client to 0.41.0 (#127642) 2024-10-05 09:07:10 -05:00
Erik Montnemery 448dd61684
Ensure dlna_dmr config flow title_placeholders items are [str, str] (#127189) 2024-10-01 12:49:31 +02:00
c0ffeeca7 866ffcf639
Use bold to markup UI strings (#126748)
* Use bold to markup UI strings

* Use bold to markup UI strings
2024-09-25 15:33:23 +02:00
Erik Montnemery c638537731
Use 'select' instead of 'click' or 'press' when guiding users in flows (#126731) 2024-09-25 13:37:43 +02:00
epenet 4e465a2066
Remove unused string in dlna_dmr (#126652) 2024-09-24 17:27:39 +02:00
Erik Montnemery 2ded9d551a
Remove unignore flow from dlna_dmr (#126647) 2024-09-24 16:42:01 +02:00
J. Nick Koston d0ba5534cd
Bump async-upnp-client to 0.40.0 (#122427) 2024-07-22 17:04:29 -05:00
Marc Mueller bcd1243686
Use VolDictType to improve schema typing (#120417) 2024-06-25 15:15:59 +02:00
Steven Looman 55a2645e78
Bump async_upnp_client to 0.39.0 (#120250) 2024-06-23 14:21:56 -05:00
Michael Chisholm 15f726da50
Fix KeyError in dlna_dmr SSDP config flow when checking existing config entries (#118549)
Fix KeyError checking existing dlna_dmr config entries
2024-05-31 10:52:19 -04:00
Marc Mueller 34bd291615
Use PEP 695 for decorator typing (1) (#117638) 2024-05-17 16:27:02 +02:00
Marc Mueller 87bb7ced79
Use PEP 695 for simple type aliases (#117633) 2024-05-17 14:42:21 +02:00
J. Nick Koston 48ea15cc6e
Fix dlna_dmr task flood when player changes state (#117606) 2024-05-17 08:40:14 +02:00
Steven Looman 78bb21138c
Remove @StevenLooman from dlna_dmr codeowners (#115028)
* Remove myself from dlna_dmr codeowners

* Update codeowners file

---------

Co-authored-by: jbouwh <jan@jbsoft.nl>
2024-04-06 23:38:05 +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
Steven Looman eb0aa6bb82
Bump async-upnp-client to 0.38.3 (#114447) 2024-03-29 19:08:07 +01:00
J. Nick Koston 417b491b78
Reduce overhead to write dlna_dmr state (#113776)
* Reduce overhead to write dlna_dmr state

- Only update supported_features once per state write cycle
- Use a dict lookup for state

* useless dispatch

* fix tests

* remove unreachable code
2024-03-19 21:13:34 -04:00
Marc Mueller 0e3945ca6c
Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Steven Looman 147a1f7b0b
Bump async-upnp-client to 0.38.2 (#110411) 2024-02-12 15:31:09 -06:00
J. Nick Koston 8e4714c563
Avoid delaying startup in dlna_dmr (#109836)
* Avoid delaying startup in dlna_dmr

fixes #109834

* make sure device info is linked up at startup

* fixes

* update tests

* startup only

* override device info if we have it

* fixes

* make sure its set right away when adding the device

* revert test changes

* coverage

* coverage

* coverage

* coverage

* adjust

* fixes

* more fixes

* coverage

* coverage

* coverage

* tweaks

* tweaks

* Revert "revert test changes"

This reverts commit 014d29297d.

* coverage

* coverage
2024-02-09 09:05:27 -05:00
Steven Looman 2b389739d3
Bump async-upnp-client to 0.38.1 (#108382) 2024-01-19 16:48:08 -10:00
Alessandro Mariotti f0e080f958
Bump getmac 0.9.4 (#106321) 2023-12-25 09:18:06 -10: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
Michael Chisholm 64a2c64419
Bump async-upnp-client to 0.38.0 (#105980) 2023-12-19 10:12:30 -10:00
Aarni Koskela 706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Steven Looman aa9301be32
Bump async-upnp-client to 0.36.2 (#102472) 2023-10-21 10:09:09 -10:00
Steven Looman ad17f1622c
Bump async-upnp-client to 0.36.1 (#100961) 2023-09-26 16:32:37 -05:00
J. Nick Koston 6387263007
Bump async-upnp-client to 0.36.0 (#100881) 2023-09-25 16:19:40 -05:00
J. Nick Koston fc75172d79
Bump async-upnp-client to 0.35.1 (#100248) 2023-09-12 16:35:39 -05:00
Joost Lekkerkerker 69117cb8e3
Use shorthand attributes for DLNA dmr (#99236) 2023-09-04 09:23:33 +02:00
Steven Looman 045c514c18
Bump async-upnp-client to 0.35.0 (#99129) 2023-08-27 09:08:58 -05:00
Steven Looman 9f551c0469
Bump async-upnp-client to 0.34.1 (#97105) 2023-07-23 22:38:21 +02:00
J. Nick Koston d4cdb0453f
Guard expensive debug formatting with calls with isEnabledFor (#97073) 2023-07-23 10:54:25 +02:00
Erik Montnemery 8440f14a08
Correct dlna_dmr device info (#96480) 2023-07-13 12:15:46 -04: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
Steven Looman 63c2b5868e
Bump async-upnp-client to 0.33.2 (#93329)
* Bump async-upnp-client to 0.33.2

* Fix tests
2023-05-21 17:17:08 -05: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
epenet 42b74e7f56
Adjust entity registry access in integrations (3) (#88948) 2023-03-01 08:24:56 +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
Steven Looman 7e206b5854
Fix error on empty location in ssdp messages (#86970) 2023-01-30 22:43:58 +01:00
Marc Mueller da35097803
Update Optional typing (2) [Py310] (#86419) 2023-01-23 09:10:05 +01:00