More "state_color" variants for gallery + wording tweaks (#14641)
This commit is contained in:
parent
b581b95d9d
commit
feddbdba96
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Alerts
|
||||
title: Alert
|
||||
subtitle: An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
|
||||
---
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
title: Progress Bars
|
||||
title: Bar
|
||||
subtitle: Can be used to communicate progress of a task.
|
||||
---
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Selectors
|
||||
title: Selector
|
||||
---
|
||||
|
||||
See the website for [list of available selectors](https://www.home-assistant.io/docs/blueprint/selectors/).
|
||||
|
|
|
@ -142,6 +142,25 @@ const CONFIGS = [
|
|||
heading: "Basic",
|
||||
config: `
|
||||
- type: entities
|
||||
entities:
|
||||
- scene.romantic_lights
|
||||
- device_tracker.demo_paulus
|
||||
- cover.kitchen_window
|
||||
- group.kitchen
|
||||
- lock.kitchen_door
|
||||
- light.bed_light
|
||||
- light.non_existing
|
||||
- climate.ecobee
|
||||
- input_number.number
|
||||
- sensor.humidity
|
||||
- text.message
|
||||
`,
|
||||
},
|
||||
{
|
||||
heading: "With enabled state color",
|
||||
config: `
|
||||
- type: entities
|
||||
state_color: true
|
||||
entities:
|
||||
- scene.romantic_lights
|
||||
- device_tracker.demo_paulus
|
||||
|
|
|
@ -35,11 +35,11 @@ const CONFIGS = [
|
|||
`,
|
||||
},
|
||||
{
|
||||
heading: "Without State",
|
||||
heading: "With State",
|
||||
config: `
|
||||
- type: button
|
||||
entity: light.bed_light
|
||||
show_state: false
|
||||
show_state: true
|
||||
`,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -62,6 +62,21 @@ const CONFIGS = [
|
|||
heading: "Basic example",
|
||||
config: `
|
||||
- type: glance
|
||||
entities:
|
||||
- device_tracker.demo_paulus
|
||||
- media_player.living_room
|
||||
- sun.sun
|
||||
- cover.kitchen_window
|
||||
- light.kitchen_lights
|
||||
- lock.kitchen_door
|
||||
- light.ceiling_lights
|
||||
`,
|
||||
},
|
||||
{
|
||||
heading: "No state colors",
|
||||
config: `
|
||||
- type: glance
|
||||
state_color: false
|
||||
entities:
|
||||
- device_tracker.demo_paulus
|
||||
- media_player.living_room
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
title: Grid And Stack Card
|
||||
title: Grid and Stack Card
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue