Add Home Assistant calendar sync via webhook
All checks were successful
Deploy / deploy (push) Successful in 42s
All checks were successful
Deploy / deploy (push) Successful in 42s
Every successful menu fetch now POSTs the day's items to HA_WEBHOOK_URL (when set), so an HA automation can turn it into a calendar event. Surface the push result as a "Calendar Sync" badge on the status card, hidden unless HA_WEBHOOK_URL is configured. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KsJqAZ82Veyf5oihBr71S5
This commit is contained in:
parent
83533d339d
commit
a9ea0a2d87
3 changed files with 45 additions and 3 deletions
|
|
@ -16,6 +16,10 @@ GMAIL_USER=you@gmail.com
|
|||
GMAIL_APP_PASSWORD=xxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
# --- Optional ---
|
||||
# Home Assistant webhook URL to push the day's menu to (for a calendar-event
|
||||
# automation). Leave unset to skip. e.g. http://192.168.86.X:8123/api/webhook/<id>
|
||||
HA_WEBHOOK_URL=
|
||||
|
||||
# Time to send the text each day (24-hour HH:MM, container timezone)
|
||||
RUN_TIME=07:00
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue