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
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
GitHub Action
77f9548e51
[ci skip] Translation update
2023-01-15 00:25:52 +00:00
Steven Looman
682501eb47
Less tasks when receiving SSDP messages ( #84186 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-21 11:35:52 -10:00
GitHub Action
cfa08c5229
[ci skip] Translation update
2022-12-15 00:24:38 +00:00
GitHub Action
b9753a9f92
[ci skip] Translation update
2022-12-13 00:27:47 +00:00
Michael Chisholm
fbab7413a5
Match config entries for dlna_dmr based on device MAC, in addition to UDN ( #74619 )
...
* Factor out _is_dmr_device function
* Use DMR device's MAC to match existing config entries
Some DMR devices change their every time they boot, against the DMR specs.
Try to match such devices to existing config entries by using their MAC
addresses.
* Add DMR device's MAC as a device_registry connection
* Use doc-only IPs (RFC5737) for dlna_dmr tests
2022-12-11 13:40:35 -05:00
GitHub Action
f19a1147fe
[ci skip] Translation update
2022-12-11 00:26:24 +00:00
GitHub Action
f25017313a
[ci skip] Translation update
2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
Michael Chisholm
7378277212
Update async-upnp-client to 0.32.3 ( #83215 )
2022-12-04 10:05:53 -08:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00:00
GitHub Action
0d1f476bee
[ci skip] Translation update
2022-12-01 00:33:36 +00:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
GitHub Action
b65d8cc1b3
[ci skip] Translation update
2022-11-28 00:23:09 +00:00
GitHub Action
f3b3193f7a
[ci skip] Translation update
2022-11-25 00:24:19 +00:00