From 48ef8c86c23e35de3801ac9a53a11b7a257ca658 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 30 Oct 2020 14:30:27 +0100 Subject: [PATCH] Add unavailable entity to gauge demo (#7530) --- gallery/src/demos/demo-hui-gauge-card.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gallery/src/demos/demo-hui-gauge-card.ts b/gallery/src/demos/demo-hui-gauge-card.ts index 2963cab228..5dd0cf582b 100644 --- a/gallery/src/demos/demo-hui-gauge-card.ts +++ b/gallery/src/demos/demo-hui-gauge-card.ts @@ -8,6 +8,7 @@ import "../components/demo-cards"; const ENTITIES = [ getEntity("sensor", "brightness", "12", {}), getEntity("plant", "bonsai", "ok", {}), + getEntity("sensor", "not_working", "unavailable", {}), getEntity("sensor", "outside_humidity", "54", { unit_of_measurement: "%", }), @@ -74,6 +75,13 @@ const CONFIGS = [ entity: plant.bonsai `, }, + { + heading: "Unavailable entity", + config: ` +- type: gauge + entity: sensor.not_working + `, + }, ]; class DemoGaugeEntity extends PolymerElement {