mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
String formatting and max line length - Part 7 (#84532)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -943,7 +943,8 @@ async def async_get_registry(hass: HomeAssistant) -> EntityRegistry:
|
||||
This is deprecated and will be removed in the future. Use async_get instead.
|
||||
"""
|
||||
report(
|
||||
"uses deprecated `async_get_registry` to access entity registry, use async_get instead"
|
||||
"uses deprecated `async_get_registry` to access entity registry, use async_get"
|
||||
" instead"
|
||||
)
|
||||
return async_get(hass)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user