Smarteefi Power Strips Get Proper Device Grouping in Home Assistant, via a Fork

Smarteefi Power Strips Get Proper Device Grouping in Home Assistant, via a Fork. AutoMatter

Filed under

,

Smarteefi, an India-based maker of smart power strips, Wi-Fi switch modules and fan controllers, has an official Home Assistant integration. A community member has now forked it to fix two problems that hit power strip owners, and has sent the fixes upstream as a pull request. It is a small story, but it shows what to check before you lean on a vendor-maintained integration.

What happened

According to the community post, the official integration had two issues. Every socket on a 4 or 5 socket strip showed up as a loose switch entity with no parent device page. And on current Home Assistant versions, reloading the integration crashed with a TypeError about an unhashable list.

The fork, described in Pull Request #9, changes three things:

  • Sockets that share a hardware serial are grouped under one power strip device, labelled by socket count (for example a 5 socket strip).
  • The old multi-platform unload call is replaced with async_unload_platforms, which removes the reload crash.
  • Parsing of composite device IDs is made defensive, and the manifest version goes to 1.1.0.

The author says it was tested live on Home Assistant OS with 5-socket strips. The pull request had no reviews or comments when we looked, so it is not merged.

The catch: read the disclaimer

The official repository carries a blunt warning. Home Assistant support is experimental, with an initial complimentary one-year subscription. Continued support may need a paid subscription, or the free period may be extended at Smarteefi’s discretion. It also says support may be discontinued at any time without notice.

That matters. We can’t tell from the pages whether control runs locally or through Smarteefi’s service. The fork’s author says status updates use local UDP broadcast on port 8890, and the official README says it polls status at restart and every 5 minutes. But setup needs an API token from the Smarteefi app, and the subscription language suggests a vendor service is involved. Treat it as cloud-dependent until proven otherwise.

What it means if you own this gear

  • Nothing urgent. If your strips work, you don’t have to switch to the fork. It mainly tidies the device page and avoids reload crashes.
  • Fork or official? The fork is a custom HACS repository from one individual, so you are trusting a single maintainer until the pull request is merged. Wait for the merge if you’d rather stay on the vendor’s code.
  • Supported entity types in the official integration are switches and outlets, fans, RGB and RGBCCT lights, and curtain controllers. The README lists x86 and ARM Linux platforms but says only x86 64-bit has been tested.
  • Plan for the end. With a possible paid tier and a no-notice shutdown clause, don’t build critical automations around these devices. Keep the strips on loads where a failure is a nuisance.

If you want to try the fork

The post says to add the fork’s GitHub address as a custom repository in HACS under Integrations, set the category to Integration, download it, and restart Home Assistant. Then add the Smarteefi integration under Settings, Devices & Services, and enter the token. You generate that token in the Smarteefi app under Menu, then Home Assistant. Back up first, since you are swapping the integration code.

Our general view: for new purchases where you want long-term local control, devices on Zigbee or Matter are a safer bet than a vendor integration marked experimental. For what you already own, this fork is a nice cleanup, and it is worth watching whether Smarteefi merges it.

Sources