mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Drop unused hass argument from internal helper (#152733)
This commit is contained in:
@@ -718,7 +718,7 @@ async def test_get_services(
|
||||
assert hass.data[ALL_SERVICE_DESCRIPTIONS_JSON_CACHE] is old_cache
|
||||
|
||||
# Set up an integration with legacy translations in services.yaml
|
||||
def _load_services_file(hass: HomeAssistant, integration: Integration) -> JSON_TYPE:
|
||||
def _load_services_file(integration: Integration) -> JSON_TYPE:
|
||||
return {
|
||||
"set_default_level": {
|
||||
"description": "Translated description",
|
||||
|
||||
Reference in New Issue
Block a user