New pyscript automation that snaps reolink_5_main when rain is incoming,
asks Gemini (ai_task.google_ai_task) whether loose cushions/cushions
are still on the terrace sofa, and alerts on mobile_app_is17 + Telegram
sendPhoto when has_loose_cushions=True with confidence >= 70%.
Triggers (all respect 3h cooldown):
- period 30min: forecast precipitation > 0.5mm in next 2h
- state: sensor.home_precipitation_intensity >= 0.1mm/h
- state: weather.forecast_home transitions into rainy/pouring/snowy/hail
- service: pyscript.cushion_check_now (manual)
Adds TELEGRAM_BOT_TOKEN/TELEGRAM_CHAT_ID to HA container environment
(HA scrubs env_file vars but honors hardcoded environment entries).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>