diff --git a/src/data/entity_attributes.ts b/src/data/entity_attributes.ts index d7782e1dbfb2..bb1582b5d1bb 100644 --- a/src/data/entity_attributes.ts +++ b/src/data/entity_attributes.ts @@ -70,6 +70,7 @@ export const DOMAIN_ATTRIBUTES_UNITS = { brightness: "%", }, sun: { + azimuth: "°", elevation: "°", }, vacuum: { diff --git a/src/dialogs/more-info/controls/more-info-sun.ts b/src/dialogs/more-info/controls/more-info-sun.ts index fb3da7108c9b..ede4d9386746 100644 --- a/src/dialogs/more-info/controls/more-info-sun.ts +++ b/src/dialogs/more-info/controls/more-info-sun.ts @@ -58,6 +58,14 @@ class MoreInfoSun extends LitElement { ${this.hass.formatEntityAttributeValue(this.stateObj, "elevation")} +