Repository navigation
Make Home Assistant alert messages readable aloud; note the CronJob time zone - #4
Merged
Merged
Conversation
…ob time zone - Backup stale: the on message now turns last_success (an ISO 8601 UTC timestamp) into local time, phrased for speech: "since yesterday at 9:15 PM", "since Tuesday, October 6 at 11:30 PM", or "yet". - Backup failed: a short on message for announcing; the technical error text moves to the card message. - Target names are read as words (- and _ become spaces). - README and cronjob.yaml: the default schedule is 02:15 UTC; set timeZone to your own zone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In use, the Backup stale alert announced
last_successas a raw ISO 8601 UTC timestamp. That's hard to read at a glance, and a smart speaker reads it out as a string of numbers.last_successto Home Assistant's local time and phrases it for speech:-and_become spaces.cronjob.yamlcomment now say that the default schedule's 02:15 is UTC, and that you settimeZone(e.g.America/Chicago) to schedule in local time.Test plan
sensor.dbbackup_*_statussensors, with strict undefined checking, covering the today, yesterday, older-date and never-succeeded branches.🤖 Generated with Claude Code