1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Drop unused hass argument from internal helper (#152733)

This commit is contained in:
epenet
2025-09-22 09:56:52 +02:00
committed by GitHub
parent 7f7bd5a97f
commit de42ac14ac
4 changed files with 9 additions and 11 deletions

View File

@@ -338,7 +338,7 @@ async def test_api_get_services(
assert data == snapshot
# 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",