Skip to content

Commit

Permalink
Update HelperFunctions.ts
Browse files Browse the repository at this point in the history
Fix entity
  • Loading branch information
MelleD authored Apr 26, 2024
1 parent 446bee3 commit 48f484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/HelperFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`<span title="Install Moon integration to get localized Moon phase name">${phase.state} (!)</span>`
}
Expand Down

0 comments on commit 48f484a

Please sign in to comment.