1
0
Fork 0
mirror of https://github.com/Zendure/Zendure-HA.git synced 2026-11-23 15:17:06 +01:00
Zendure Home Assistant Integration
  • Python 99.6%
  • Shell 0.4%
Find a file
Ludovic BOUÉ e67b04e41b
Improve readability of raw device property sensors (#1760)
* Improve readability of raw device property sensors

Unmapped device properties with no translation (acStatus, aiState,
bindstate, etc.) were showing up with their raw camelCase API name,
mixed alphabetically into the main sensor list alongside meaningful
readings.

- Move them into the Diagnostic section (entity_category) so the
  main sensor list stays focused, except for the handful still
  useful to end users day-to-day (is_error, gridState,
  chargeMaxLimit), which stay visible.
- Add EN/FR translated names for all of them so they're readable
  wherever they end up.

* Add icons, fix entity migration crash, and clean up fr.json casing

- Make the entity-id migration/dedup in check_entities() non-fatal:
  it was crashing device setup entirely when the canonical entity_id
  was already permanently held by an unrelated device (observed with
  a same-named device from another integration).
- Keep packState in the main sensor list (Diagnostic was too
  aggressive for it) and give the raw fallback sensors proper icons
  instead of the generic "eye" icon.
- Add icons to a handful of explicitly-defined sensors that had none
  (socStatus, socLimit, pass, connectionStatus, roundtripEfficiency,
  switchCount), and icon/entity_category support to ZendureRestoreSensor.
- Add a translation for VoltWakeup.
- Fix inconsistent lowercase-first-letter names/states in fr.json.

* Add de, nl and pl names for the raw device property sensors

---------

Co-authored-by: Jan Brandsma <6523983+FireSon@users.noreply.github.com>
2026-11-14 17:36:56 +01:00
.github ci: use Python 3.14 to match homeassistant>=2026.4.3's minimum 2026-08-11 13:08:14 +02:00
.vscode Device ID migration, custom snakecase, and code review fixes 2026-03-29 23:31:51 +00:00
config Fix entities 2026-04-28 16:05:48 +00:00
custom_components/zendure_ha Improve readability of raw device property sensors (#1760) 2026-11-14 17:36:56 +01:00
scripts Update HA 2026.2 2026-02-07 13:59:20 +00:00
tests fix: restored manual_power is overwritten right after it is restored (#1764) 2026-11-14 15:34:49 +01:00
.gitattributes initial version 2025-03-01 17:40:25 +01:00
.gitignore Device ID migration, custom snakecase, and code review fixes 2026-03-29 23:31:51 +00:00
.ruff.toml Implement FuseGroup + Simplify distribution code 2025-09-04 13:15:18 +00:00
CLAUDE.md Add CLAUDE.md with commit-authorship rule 2026-04-22 22:05:16 +00:00
hacs.json Revert hacs.json content_in_root to false 2026-07-18 12:46:44 +02:00
LICENSE initial version 2025-03-01 17:40:25 +01:00
pyproject.toml Migrate tests to pytest-homeassistant (#1750) 2026-11-14 02:24:16 +01:00
README.md docs: add SF800 Pro2 to supported devices (#1759) 2026-11-14 17:36:50 +01:00
requirements.txt build(deps): bump ruff from 0.16.10 to 0.17.3 (#1743) 2026-11-14 01:36:56 +01:00
requirements_test.txt Migrate tests to pytest-homeassistant (#1750) 2026-11-14 02:24:16 +01:00

Logo

Zendure Home Assistant Integration

This Home Assistant integration connects your Zendure devices to Home Assistant, making all reported parameters available as entities. You can track battery levels, power input/output, manage charging settings, and integrate your Zendure devices into your home automation routines. The integration also provides a power manager feature that can help balance energy usage across multiple devices when a P1 meter entity is supplied.

hacs releasebadge License hainstall

Overview

Minimum Requirements

Installation

HACS (Home Assistant Community Store)

To install via HACS:

  1. Navigate to HACS -> Integrations -> "+ Explore & Download Repos".

  2. Search for "Zendure".

  3. Click on the result and select "Download this Repository with HACS".

  4. Refresh your browser (due to a known HA bug that may not update the integration list immediately).

  5. Go to "Settings" in the Home Assistant sidebar, then select "Devices and Services".

  6. Click the blue [+ Add Integration] button at the bottom right, search for "Zendure", and install it.

    Set up a new integration in Home Assistant

Contributing

Contributions are welcome! If you're interested in contributing, please review our Contribution Guidelines before submitting a pull request or issue.

Support

If you find this project helpful and want to support its development, consider buying me a coffee! Buy Me a Coffee


License

MIT License