Skip to content

Commit cc5c0d0

Browse files
authored
Fix index for service action translation in service action dialog (#27824)
1 parent 7f3d5f5 commit cc5c0d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/panels/lovelace/common/handle-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const handleAction = async (
6767
await hass.loadBackendTranslation("title");
6868
const localize = await hass.loadBackendTranslation("services");
6969
serviceName = `${domainToName(localize, domain)}: ${
70-
localize(`component.${domain}.services.${serviceName}.name`) ||
70+
localize(`component.${domain}.services.${service}.name`) ||
7171
serviceDomains[domain][service].name ||
7272
service
7373
}`;

0 commit comments

Comments
 (0)