add sensor card to first demo (#4035)

* add sensor card to first demo

* Change to temperature sensor
This commit is contained in:
Ian Richardson 2019-10-22 14:43:34 -05:00 committed by GitHub
parent bb73039205
commit 49d0f2359b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 1 deletions

View File

@ -217,6 +217,18 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) =>
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": {
entity_id: "cover.garagedoor",
state: "closed",

View File

@ -446,6 +446,11 @@ export const demoLovelaceArsaboo: DemoConfig["lovelace"] = (localize) => ({
"script.tv_off",
],
},
{
type: "sensor",
entity: "sensor.study_temp",
graph: "line",
},
{
type: "entities",
title: "Doorbell",

View File

@ -1782,7 +1782,8 @@
"master_bedroom": "Master Bedroom",
"left": "Left",
"right": "Right",
"mirror": "Mirror"
"mirror": "Mirror",
"temperature_study": "Temperature Study"
},
"labels": {
"lights": "Lights",