How fryyyyy/zeekr_homeassistant works
This is a Home Assistant custom integration for monitoring and controlling Zeekr EVs. Users configure an account, after which the integration coordinates vehicle data and exposes it as Home Assistant entities; entity commands can invoke vehicle operations. The graph preserves the documented sensor, climate, charging, access, window, and tracking capabilities. Several platform implementations were not excerpted, so their coordinator relationships are supported by the SOURCE INDEX, while platform registration is shown as unverified.
Main entry points: coordinator.py Vehicle Coordinator · __init__.py Integration Setup · config_flow.py Account Setup · entity.py Shared Entity Logic
Components 22
Setup & Configuration
- Account Setup
custom_components/zeekr_ev/config_flow.py - Integration Setup
custom_components/zeekr_ev/__init__.py - Platforms & Settings
custom_components/zeekr_ev/const.py
Vehicle Runtime
- Vehicle Coordinator
custom_components/zeekr_ev/coordinator.py - Zeekr EV API
Status Entities
- Vehicle Sensors
custom_components/zeekr_ev/sensor.py - Status Sensors
custom_components/zeekr_ev/binary_sensor.py - Vehicle Location
custom_components/zeekr_ev/device_tracker.py
Vehicle Controls
- Climate Controls
custom_components/zeekr_ev/climate.py - Windows & Hood
custom_components/zeekr_ev/cover.py - Vehicle Switches
custom_components/zeekr_ev/switch.py - Vehicle Actions
custom_components/zeekr_ev/button.py - Door & Trunk Locks
custom_components/zeekr_ev/lock.py - Vehicle Selects
custom_components/zeekr_ev/select.py - Vehicle Numbers
custom_components/zeekr_ev/number.py - Charge Schedule Times
custom_components/zeekr_ev/time.py - Departure Schedule
custom_components/zeekr_ev/datetime.py
Shared Services
- Shared Entity Logic
custom_components/zeekr_ev/entity.py - Request Statistics
custom_components/zeekr_ev/request_stats.py - Setup Errors
custom_components/zeekr_ev/setup_errors.py - API Utilities
custom_components/zeekr_ev/utils.py
Other components
- Home Assistant User
Connections 26
- Home Assistant User → Account Setup: configures
README.md - Account Setup → Integration Setup: sets up
- Account Setup → Setup Errors: uses
custom_components/zeekr_ev/config_flow.py - Account Setup → API Utilities: validates with
custom_components/zeekr_ev/config_flow.py - Integration Setup → Vehicle Coordinator: creates
custom_components/zeekr_ev/__init__.py - Integration Setup → Request Statistics: initializes
custom_components/zeekr_ev/__init__.py - Integration Setup → Platforms & Settings: reads settings
custom_components/zeekr_ev/__init__.py - Integration Setup → Vehicle Sensors: registers platforms
- Vehicle Coordinator → Zeekr EV API: fetches vehicle data
custom_components/zeekr_ev/coordinator.py - Vehicle Coordinator → Request Statistics: counts requests
custom_components/zeekr_ev/coordinator.py - Vehicle Sensors → Vehicle Coordinator: reads updates
custom_components/zeekr_ev/sensor.py - Status Sensors → Vehicle Coordinator: reads updates
custom_components/zeekr_ev/binary_sensor.py - Vehicle Location → Vehicle Coordinator: reads updates
custom_components/zeekr_ev/device_tracker.py - Climate Controls → Vehicle Coordinator: reads and commands
custom_components/zeekr_ev/climate.py - Windows & Hood → Vehicle Coordinator: reads and commands
custom_components/zeekr_ev/cover.py - Vehicle Switches → Vehicle Coordinator: reads and commands
custom_components/zeekr_ev/switch.py - Vehicle Actions → Vehicle Coordinator: uses vehicle data
custom_components/zeekr_ev/button.py - Door & Trunk Locks → Vehicle Coordinator: uses vehicle data
custom_components/zeekr_ev/lock.py - Vehicle Selects → Vehicle Coordinator: uses vehicle data
custom_components/zeekr_ev/select.py - Vehicle Numbers → Vehicle Coordinator: uses vehicle data
custom_components/zeekr_ev/number.py - Charge Schedule Times → Vehicle Coordinator: reads and commands
custom_components/zeekr_ev/time.py - Departure Schedule → Vehicle Coordinator: reads and commands
custom_components/zeekr_ev/datetime.py - Climate Controls → Shared Entity Logic: extends
custom_components/zeekr_ev/climate.py - Windows & Hood → Shared Entity Logic: extends
custom_components/zeekr_ev/cover.py - Charge Schedule Times → Shared Entity Logic: extends
custom_components/zeekr_ev/time.py - Departure Schedule → Shared Entity Logic: extends
custom_components/zeekr_ev/datetime.py