From 48f484acfbfbcc029b4957a8530506dc68d916dc Mon Sep 17 00:00:00 2001 From: Dennis Melzer Date: Fri, 26 Apr 2024 22:15:01 +0200 Subject: [PATCH] Update HelperFunctions.ts Fix entity --- src/utils/HelperFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/HelperFunctions.ts b/src/utils/HelperFunctions.ts index b59d449..6c8093a 100644 --- a/src/utils/HelperFunctions.ts +++ b/src/utils/HelperFunctions.ts @@ -29,7 +29,7 @@ export class HelperFunctions { return nothing } - let moon_phase_localized: unknown = i18n.localize(`component.entity.sensor.phase.state.${phase.state}`) + let moon_phase_localized: unknown = i18n.localize(`component.moon.entity.sensor.phase.state.${phase.state}`) if (!moon_phase_localized) { moon_phase_localized = html`${phase.state} (!)` }