diff --git a/demo/src/configs/sections/entities.ts b/demo/src/configs/sections/entities.ts index ffb7389503..1900624b83 100644 --- a/demo/src/configs/sections/entities.ts +++ b/demo/src/configs/sections/entities.ts @@ -232,6 +232,7 @@ export const demoEntitiesSections: DemoConfig["entities"] = () => unit_of_measurement: "gCO2eq/kWh", attribution: "Data provided by Electricity Maps", friendly_name: "Electricity Maps CO2 intensity", + icon: "mdi:molecule-co2", }, }, "sun.sun": { @@ -250,23 +251,14 @@ export const demoEntitiesSections: DemoConfig["entities"] = () => friendly_name: "Sun", }, }, - "sensor.moon_phase": { + "sensor.rain": { entity_id: "sensor.moon_phase", - state: "waning_crescent", + state: "7.2", attributes: { - options: [ - "new_moon", - "waxing_crescent", - "first_quarter", - "waxing_gibbous", - "full_moon", - "waning_gibbous", - "last_quarter", - "waning_crescent", - ], - device_class: "enum", - icon: "mdi:moon-waning-crescent", - friendly_name: "Moon Phase", + state_class: "total_increasing", + unit_of_measurement: "mm", + device_class: "precipitation", + friendly_name: "Rain", }, }, "climate.ground_floor": { diff --git a/demo/src/configs/sections/lovelace.ts b/demo/src/configs/sections/lovelace.ts index 197a434a2a..70146c0bdb 100644 --- a/demo/src/configs/sections/lovelace.ts +++ b/demo/src/configs/sections/lovelace.ts @@ -116,7 +116,7 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({ { type: "tile", entity: "sensor.tesla_wall_connector_session_energy", - name: "EV last charge", + name: "Last charge", color: "green", }, { @@ -155,9 +155,8 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({ }, { type: "tile", - entity: "sensor.moon_phase", - color: "indigo", - name: "Moon", + entity: "sensor.rain", + color: "blue", }, { features: [ @@ -166,6 +165,7 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({ }, ], type: "tile", + name: "Downstairs", entity: "climate.ground_floor", state_content: ["preset_mode", "current_temperature"], }, @@ -176,6 +176,7 @@ export const demoLovelaceSections: DemoConfig["lovelace"] = () => ({ }, ], type: "tile", + name: "Upstairs", entity: "climate.first_floor", state_content: ["preset_mode", "current_temperature"], },