How udocs-ru/ha_vk_notify works
VK Notify is a Home Assistant integration for sending VK messages and, optionally, receiving VK conversation events through Long Poll. Users configure a token, connection mode, and chat; Home Assistant then exposes notification services for message and chat operations. The notify entity uses helpers for formatting and media uploads, while a shared Long Poll manager emits incoming-message, callback, typing, and read events. The graph reflects the README’s broader service capabilities; unsampled service-registration details are not inferred.
Main entry points: notify.py Notify services · longpoll.py Long Poll manager · config_flow.py Integration setup · __init__.py Entry lifecycle
Components 13
Setup
- Integration setup
custom_components/vk_notify/config_flow.py - Entry lifecycle
custom_components/vk_notify/__init__.py
Outbound messaging
- Notify services
custom_components/vk_notify/notify.py - Message operations
custom_components/vk_notify/notify.py - Chat and profile ops
custom_components/vk_notify/notify.py
Message support
- Text formatting
custom_components/vk_notify/helpers.py - Media uploads
custom_components/vk_notify/helpers.py - API configuration
custom_components/vk_notify/const.py
Inbound events
- Long Poll manager
custom_components/vk_notify/longpoll.py
Other components
- HA user
- HA automations
- VK API
- HA event bus
Connections 17
- HA user → Integration setup: configures
README.md - Integration setup → VK API: validates token; lists chats
custom_components/vk_notify/config_flow.py - Integration setup → Entry lifecycle: creates entry
custom_components/vk_notify/config_flow.py - Entry lifecycle → Notify services: forwards notify platform
custom_components/vk_notify/__init__.py - Entry lifecycle → Long Poll manager: starts and stops
custom_components/vk_notify/__init__.py - HA automations → Notify services: calls services
README.md - Notify services → Message operations: dispatches operations
README.md - Notify services → Chat and profile ops: dispatches operations
README.md - Message operations → Text formatting: formats text
custom_components/vk_notify/notify.py - Message operations → Media uploads: uploads media
custom_components/vk_notify/notify.py - Notify services → VK API: sends API requests
custom_components/vk_notify/notify.py - Media uploads → VK API: uploads and saves media
custom_components/vk_notify/helpers.py - Chat and profile ops → VK API: requests operations
custom_components/vk_notify/notify.py - Long Poll manager → VK API: polls and marks read
custom_components/vk_notify/longpoll.py - Long Poll manager → HA event bus: fires events
custom_components/vk_notify/longpoll.py - API configuration → Notify services: provides API constants
custom_components/vk_notify/notify.py - API configuration → Long Poll manager: provides poll constants
custom_components/vk_notify/longpoll.py