mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
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.
|
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/).
|
See the website for [list of available selectors](https://www.home-assistant.io/docs/blueprint/selectors/).
|
||||||
|
@ -142,6 +142,25 @@ const CONFIGS = [
|
|||||||
heading: "Basic",
|
heading: "Basic",
|
||||||
config: `
|
config: `
|
||||||
- type: entities
|
- 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:
|
entities:
|
||||||
- scene.romantic_lights
|
- scene.romantic_lights
|
||||||
- device_tracker.demo_paulus
|
- device_tracker.demo_paulus
|
||||||
|
@ -35,11 +35,11 @@ const CONFIGS = [
|
|||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
heading: "Without State",
|
heading: "With State",
|
||||||
config: `
|
config: `
|
||||||
- type: button
|
- type: button
|
||||||
entity: light.bed_light
|
entity: light.bed_light
|
||||||
show_state: false
|
show_state: true
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -62,6 +62,21 @@ const CONFIGS = [
|
|||||||
heading: "Basic example",
|
heading: "Basic example",
|
||||||
config: `
|
config: `
|
||||||
- type: glance
|
- 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:
|
entities:
|
||||||
- device_tracker.demo_paulus
|
- device_tracker.demo_paulus
|
||||||
- media_player.living_room
|
- media_player.living_room
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
title: Grid And Stack Card
|
title: Grid and Stack Card
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user