diff --git a/README.md b/README.md index 8d6dc0c..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" @@ -185,3 +185,28 @@ 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: +```yaml +# 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 +``` + +