Commit Graph

12 Commits

Author SHA1 Message Date
alexei.dolgolyov 2ae706d700 Enhance Telegram service with multi-format support and chunking
Validate / Hassfest (push) Successful in 2s
Renamed send_telegram_media_group to send_telegram_notification with expanded capabilities:
- Text messages (when urls is empty)
- Single photo/video (uses sendPhoto/sendVideo APIs)
- Media groups (uses sendMediaGroup API)
- Automatic chunking for unlimited media URLs
- Smart optimization: single-item chunks use appropriate single-item APIs

New parameters:
- max_group_size (2-10, default 10): control items per media group
- chunk_delay (0-60000ms, default 0): delay between chunks for rate limiting
- disable_web_page_preview: disable link previews in text messages

The service now intelligently selects the most efficient Telegram API endpoint based on content type and chunk size, with comprehensive error handling and logging.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-31 14:33:18 +03:00
alexei.dolgolyov 1cc5d7cc7d Remove album name from entity names
Validate / Hassfest (push) Successful in 3s
2026-01-31 04:49:53 +03:00
alexei.dolgolyov 5d878cfbd0 Add translation for telegram service
Validate / Hassfest (push) Successful in 3s
2026-01-31 04:44:50 +03:00
alexei.dolgolyov 02c0535f50 Add telegram media sender as service. Also fixed the via_device warnings that would break in HA 2025.12.0.
Validate / Hassfest (push) Successful in 3s
2026-01-31 04:07:13 +03:00
alexei.dolgolyov 6f39a8175d Update root README.md 2026-01-30 23:41:52 +03:00
alexei.dolgolyov e6619cb1c5 Album ID sensor now also exposes album name 2026-01-30 15:48:16 +03:00
alexei.dolgolyov eedc7792c8 Add album id sensor that has primary share link url attribute 2026-01-30 15:41:58 +03:00
alexei.dolgolyov 3a0573e432 Add persistent storage 2026-01-30 15:30:05 +03:00
alexei.dolgolyov 847c39eaa8 Add a note about handy blueprint 2026-01-30 14:42:17 +03:00
alexei.dolgolyov 9013c5e0c3 Update README to use github remote url 2026-01-30 14:40:50 +03:00
alexei.dolgolyov 557ec91f05 Update remote url for HACS config and README 2026-01-30 14:12:46 +03:00
alexei.dolgolyov 436139ede9 Prepare the integration for HACS installation 2026-01-30 14:11:28 +03:00