From 9f0730e82db340da46e0f2968e551194115f0516 Mon Sep 17 00:00:00 2001 From: Martijn Hoogenbosch <36899598+mhoogenbosch@users.noreply.github.com> Date: Sat, 28 Sep 2024 10:35:17 +0200 Subject: [PATCH 1/4] Update README.md Added auto-entities --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 8d6dc0c..4482915 100644 --- a/README.md +++ b/README.md @@ -185,3 +185,27 @@ I use the birthdays as a simple entity list in lovelace, given the above example - birthdays.bilbo_baggins - birthdays.elvis ``` + +Another possibility is to use the auto-entities card. This allows you to sort the birthdays entered, an example: +``` +type: custom:auto-entities +show_empty: false +card: + title: Verjaardagen + type: entities + card_mod: + style: | + #states > * { + margin: 0 !important; + } +filter: + include: + - entity_id: birthdays* +sort: + method: state + ignore_case: false + reverse: false + numeric: true +``` + + From 9dc9ab4e83a2b044543a325d26006275c9517e83 Mon Sep 17 00:00:00 2001 From: Martijn Hoogenbosch <36899598+mhoogenbosch@users.noreply.github.com> Date: Sat, 28 Sep 2024 10:36:42 +0200 Subject: [PATCH 2/4] Update README.md Auto-Entities --- README.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 4482915..57a47dc 100644 --- a/README.md +++ b/README.md @@ -188,24 +188,25 @@ I use the birthdays as a simple entity list in lovelace, given the above example Another possibility is to use the auto-entities card. This allows you to sort the birthdays entered, an example: ``` -type: custom:auto-entities -show_empty: false -card: - title: Verjaardagen - type: entities - card_mod: - style: | - #states > * { - margin: 0 !important; - } -filter: - include: - - entity_id: birthdays* -sort: - method: state - ignore_case: false - reverse: false - numeric: true +# Example using auto-entities +- type: custom:auto-entities + show_empty: false + card: + title: Verjaardagen + type: entities + card_mod: + style: | + #states > * { + margin: 0 !important; + } + filter: + include: + - entity_id: birthdays* + sort: + method: state + ignore_case: false + reverse: false + numeric: true ``` From 4cffa0ab4e304d6e7ccd1227295a15d3e0fef202 Mon Sep 17 00:00:00 2001 From: Martijn Hoogenbosch <36899598+mhoogenbosch@users.noreply.github.com> Date: Sat, 28 Sep 2024 10:37:21 +0200 Subject: [PATCH 3/4] Update README.md auto-entities --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57a47dc..c369a4c 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ I use the birthdays as a simple entity list in lovelace, given the above example ``` Another possibility is to use the auto-entities card. This allows you to sort the birthdays entered, an example: -``` +```yaml # Example using auto-entities - type: custom:auto-entities show_empty: false From ec0d5e0e0e6c422934cd2e71efb3e2fc70076f0f Mon Sep 17 00:00:00 2001 From: Martijn Hoogenbosch <36899598+mhoogenbosch@users.noreply.github.com> Date: Sat, 28 Sep 2024 10:37:56 +0200 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c369a4c..5462159 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ automation: If you want to have a notification sent to you at a specific time (instead of midnight), you can use a custom templated sensor and a time trigger. Create the sensor: -~~~ +~~~yaml template: - sensor: - name: "Next birthday"