Releases: amitfin/lovelace-daily-schedule-card
<state-badge> compatibility
In 2024.2 there was a change to as described here. This card uses so it's not clear if there is an issue, but just in case, adding hass
as an input parameter.
Changelog: v1.5.1...v1.5.2
Card's template
Add template for the entire card (can be overriden by per-entity's template).
Template for customizing displayed value
A new optional template configuration for customizing the displayed value.
Example:
- entity: binary_sensor.let_the_dog_out
template: >-
{{ state_attr(entity_id, 'schedule') | rejectattr('disabled',
'true') | map(attribute='from') | map('truncate', 2, True, '')
| join(' | ') }}
Defining minimum space before range toggle
A small improvement in web view: defining minimum space before time range toggle.
Allow disabling time range
Allow disabling / enabling a time range, without deleting it. Note that it requires v1.5.1 of daily-schedule integration (or newer).
Add a delay before save
Save happened on every key press. Added a delay waiting for half-second of idle (no key press).
More-info dialog link
v1.3.0 Single reusable dialog
Support "entities" card row
Add support for embedding the row(s) inside the "entities" card.
BREAKING CHANGE:
When there is no title, the component assumes it's embedded in the "entities" card.
It's possible to set the new "card" flag to render an entire card without a title.
Align schedule value (string) to the right
When the text value of the schedule is more than 1 line (e.g. on mobile), it was aligned to the left instead of to the right.