Electra Smart AC

March 8, 2026 · View on GitHub

hacs_badge Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Community-maintained fork of the official Electra Smart Home Assistant integration, originally developed by @jafar-atili.

The official integration and its underlying library (pyElectra) appear to be abandoned — open issues have gone unanswered since mid-2024. This fork continues development and ships fixes for known bugs.

Fixes Included

Wrong Current Temperature (5,632°C instead of 22°C)

The I_RAT and I_CALC_AT telemetry values from the Electra API are raw integers left-shifted by 8 bits (×256). The official integration stores them without converting, causing absurd temperature readings.

Raw valueOfficial integrationThis fork
5,6325,632°C22°C
5,8885,888°C23°C
6,1446,144°C24°C

Related upstream issues (unfixed):

Installation

HACS (one-click)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Or manually:

  1. Open HACS in Home Assistant
  2. Click the 3-dot menu → Custom repositories
  3. Add https://github.com/dormeljon/ha-electrasmart as type Integration
  4. Search for "Electra Smart" and install
  5. Restart Home Assistant

Manual

  1. Copy the custom_components/electrasmart folder to your HA config/custom_components/ directory
  2. Restart Home Assistant

How It Works

This custom component uses the same electrasmart domain as the official integration, so it automatically overrides it. No reconfiguration needed — your existing Electra Smart devices will use the fixed code immediately.

Removal

If the official integration gets fixed upstream, simply uninstall this custom component via HACS and the built-in one will take over again.

Contributing

Issues and PRs are welcome. This integration is based on the official HA core electrasmart component and the pyElectra==1.2.4 library.

Credits