mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
add sensor card to first demo (#4035)
* add sensor card to first demo * Change to temperature sensor
This commit is contained in:
parent
bb73039205
commit
49d0f2359b
@ -217,6 +217,18 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) =>
|
|||||||
icon: "hademo:currency-usd",
|
icon: "hademo:currency-usd",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"sensor.study_temp": {
|
||||||
|
entity_id: "sensor.study_temp",
|
||||||
|
state: "20.9",
|
||||||
|
attributes: {
|
||||||
|
unit_of_measurement: "°C",
|
||||||
|
device_class: "temperature",
|
||||||
|
friendly_name: localize(
|
||||||
|
"ui.panel.page-demo.config.arsaboo.names.temperature_study"
|
||||||
|
),
|
||||||
|
icon: "hademo:thermometer",
|
||||||
|
},
|
||||||
|
},
|
||||||
"cover.garagedoor": {
|
"cover.garagedoor": {
|
||||||
entity_id: "cover.garagedoor",
|
entity_id: "cover.garagedoor",
|
||||||
state: "closed",
|
state: "closed",
|
||||||
|
@ -446,6 +446,11 @@ export const demoLovelaceArsaboo: DemoConfig["lovelace"] = (localize) => ({
|
|||||||
"script.tv_off",
|
"script.tv_off",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "sensor",
|
||||||
|
entity: "sensor.study_temp",
|
||||||
|
graph: "line",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: "entities",
|
type: "entities",
|
||||||
title: "Doorbell",
|
title: "Doorbell",
|
||||||
|
@ -1782,7 +1782,8 @@
|
|||||||
"master_bedroom": "Master Bedroom",
|
"master_bedroom": "Master Bedroom",
|
||||||
"left": "Left",
|
"left": "Left",
|
||||||
"right": "Right",
|
"right": "Right",
|
||||||
"mirror": "Mirror"
|
"mirror": "Mirror",
|
||||||
|
"temperature_study": "Temperature Study"
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"lights": "Lights",
|
"lights": "Lights",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user