- Switch entities for each charging schedule allows enabling/disabling charge schedules.
- Lock entity to enable or disable the charge point.
- Provides services to:
- Disable all charging schedules:
andersen_ev.disable_all_schedules - Get detailed device information:
andersen_ev.get_device_info(results displayed in UI) - Get detailed real-time device status:
andersen_ev.get_device_status(results displayed in UI) - Reset RCM:
andersen_ev.reset_rcm
- Disable all charging schedules:
- Live grid power sensors for those without smart meters.
- Make sure HACS is installed in your Home Assistant instance.
- Add this repository as a custom repository in HACS:
- Navigate to HACS → Integrations → Menu (⋮) → Custom repositories
- Add
https://github.com/HA-AndersenEV/hassio-andersen-evas a repository - Select
Integrationas the category
- Click "Add"
- Search for "Andersen EV" in HACS and install it
- Restart Home Assistant
- Add the integration via the Home Assistant UI (Settings → Devices & Services → Add Integration)
- Search for "Andersen EV" and follow the configuration steps
- Download the repository as a zip file and extract it.
- Copy the
andersen_evfolder to your Home Assistantcustom_componentsdirectory. - Restart Home Assistant.
- Add the integration via the Home Assistant UI by providing your Andersen user account user name and password.
The integration provides the following services:
Disables all charging schedules for a specified device.
Example:
service: andersen_ev.disable_all_schedules
data:
device_id: "YOUR_DEVICE_ID"Retrieves detailed information about a device and displays the results directly in the Home Assistant UI. This service uses Home Assistant's new Action API that allows returning data to the user interface.
Example:
service: andersen_ev.get_device_info
data:
device_id: "YOUR_DEVICE_ID"Retrieves detailed real-time status of a device and displays the results directly in the Home Assistant UI. This provides more comprehensive status information than what is available through the sensors.
Example:
service: andersen_ev.get_device_status
data:
device_id: "YOUR_DEVICE_ID"Contributions are welcome! Please read CONTRIBUTING.md for the branch model, commit conventions, and release process before opening a pull request.
This repo ships a .pre-commit-config.yaml that runs the same ruff lint and
format checks as CI (pinned to the same ruff version), so issues are caught
locally before you push. To enable it:
pip install pre-commit # or: pip install -r requirements-dev.txt
pre-commit installThe hooks then run automatically on git commit. To run them across the
integration source on demand:
pre-commit run --all-filesFrankly depends on whether or not I sell my house (with the charger).
- Development & CI tooling hardening (no functional integration changes):
- Replaced flake8 with ruff (lint + format check), added a
.pre-commit-config.yaml. - CI now runs a Python 3.13/3.14 matrix with coverage, plus hassfest and HACS validation.
- Added a devcontainer for local parity with CI, dependabot, and a seeded quality_scale.yaml.
- Replaced flake8 with ruff (lint + format check), added a
- Fix breaking bug in 0.6.5
- Resolve userLock bug when andersen don't send userLock info explicitly
- Resolve bug preventing use of the RCM reset service caused by incorrect method name call.
- First contribution from @devachnid adds a service to perform an RCM reset.
- Another contribution from @codeandr3w which adds a sensor to report the fault code of the charger.
- Fix for empty friendly name causing authentication issue on integration setup. Fixes #6
- First contribution from @codeandr3w adds live grid power sensors.
- Bugfix missing model data in
lock.py
- Add serial number to device
- Added icons to HA brands repo (and included here).
- Added switch entities to enable/disable individual charging schedules
- Improved schedule control to sync changes between Home Assistant and the mobile app
- Fixed state synchronization when toggling switches or making changes in the mobile app
- Added better error handling for API communications
- Improved model name handling by properly retrieving it from the API response
- Fixed issue with device model display in Home Assistant
- Added custom Material Design icons for all sensors
- Added service:
get_device_status- Retrieves detailed real-time device status with results displayed in UI - enables use of response variables.
- Added services:
disable_all_schedules- Disables all charging schedules for a charge pointget_device_info- Retrieves detailed device information with results displayed in UI - enables use of response variables.
- Removed redundant enable/disable charging services (use the lock entity instead)
- Changed power sensors to display in kilowatts (kW) to match API values
- Implemented automatic token refresh to fix the "No devices found" issue after 1 hour
- This still uses a full authentication, which isn't ideal but refresh tokens just don't work. 🤷🏻♂️
- Added better error handling for authentication failures
- Improved logging for better troubleshooting
- Initial release
