diff --git a/package.json b/package.json index 9a6fabd..54adb71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lovelace-horizon-card", - "version": "1.0.0", + "version": "1.1.0", "description": "Successor to Sun Card - Visualize the position of the sun over the horizon", "type": "commonjs", "main": "dist/index.js", diff --git a/src/utils/HelperFunctions.ts b/src/utils/HelperFunctions.ts index 8e4c9ce..b59d449 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.sensor.state.moon__phase.${phase.state}`) + let moon_phase_localized: unknown = i18n.localize(`component.entity.sensor.phase.state.${phase.state}`) if (!moon_phase_localized) { moon_phase_localized = html`${phase.state} (!)` }