diff --git a/gallery/src/pages/components/ha-alert.markdown b/gallery/src/pages/components/ha-alert.markdown index 2f608d1b17..e5f5e5c059 100644 --- a/gallery/src/pages/components/ha-alert.markdown +++ b/gallery/src/pages/components/ha-alert.markdown @@ -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. --- diff --git a/gallery/src/pages/components/ha-bar.markdown b/gallery/src/pages/components/ha-bar.markdown index 7fe5620852..6b48a99e74 100644 --- a/gallery/src/pages/components/ha-bar.markdown +++ b/gallery/src/pages/components/ha-bar.markdown @@ -1,3 +1,4 @@ --- -title: Progress Bars +title: Bar +subtitle: Can be used to communicate progress of a task. --- diff --git a/gallery/src/pages/components/ha-selector.markdown b/gallery/src/pages/components/ha-selector.markdown index 8f6af00f26..4f27afbaef 100644 --- a/gallery/src/pages/components/ha-selector.markdown +++ b/gallery/src/pages/components/ha-selector.markdown @@ -1,5 +1,5 @@ --- -title: Selectors +title: Selector --- See the website for [list of available selectors](https://www.home-assistant.io/docs/blueprint/selectors/). diff --git a/gallery/src/pages/lovelace/entities-card.ts b/gallery/src/pages/lovelace/entities-card.ts index 9aebd67b7d..075fa73351 100644 --- a/gallery/src/pages/lovelace/entities-card.ts +++ b/gallery/src/pages/lovelace/entities-card.ts @@ -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 diff --git a/gallery/src/pages/lovelace/entity-button-card.ts b/gallery/src/pages/lovelace/entity-button-card.ts index 8718629399..a90f7c776d 100644 --- a/gallery/src/pages/lovelace/entity-button-card.ts +++ b/gallery/src/pages/lovelace/entity-button-card.ts @@ -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 `, }, { diff --git a/gallery/src/pages/lovelace/glance-card.ts b/gallery/src/pages/lovelace/glance-card.ts index 14941aaa4e..c2a7c22ece 100644 --- a/gallery/src/pages/lovelace/glance-card.ts +++ b/gallery/src/pages/lovelace/glance-card.ts @@ -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 diff --git a/gallery/src/pages/lovelace/grid-and-stack-card.markdown b/gallery/src/pages/lovelace/grid-and-stack-card.markdown index ecd9aabc6f..30fb03a050 100644 --- a/gallery/src/pages/lovelace/grid-and-stack-card.markdown +++ b/gallery/src/pages/lovelace/grid-and-stack-card.markdown @@ -1,3 +1,3 @@ --- -title: Grid And Stack Card +title: Grid and Stack Card ---