GS-T3E v2.4 - Home Assistant integration fails to load — KeyError and "restart HA" error #904
fabiogfabio
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After successfully flashing openHASP
v0.7.0-rc12(May 23 2024) on a GS-T3E v2.4 panel (no USB port, UART only), I was able to connect the device to my Wi-Fi and it correctly publishes MQTT messages. Home Assistant detects the plate via MQTT, but the openHASP integration fails to load.When I try to add the plate via the openHASP integration (installed through HACS, version 0.7.0 or 0.7.6), I get this error in the UI:
Restarting HA doesn't resolve the issue.
Error log
Here’s the relevant error in
home-assistant.log:python
Error calling entry remove callback plate for openhasp
File "/config/custom_components/openhasp/init.py", line 296, in async_remove_entry
KeyError: 'openhasp'
This error repeats if I try to remove/re-add the plate.
Additional context
Board: Golden Security GS-T3E v2.4, ESP32, 16MB flash, no USB (requires UART flasher)
Firmware flashed: openHASP 0.7.0-rc12 cd34d89, environment: gs-t3e_16MB
I found no official documentation for the v2.4 variant of this GS-T3E board.
MQTT works fine — I’ve manually configured a button (e.g., p0b4) and successfully toggle a Home Assistant switch using MQTT automation.
The plate publishes state topics like:
hasp/plate/state/p0b4 = {"event":"up","val":0}
Feature request or fix?
It looks like there's either a bug in how the integration registers the plate, or a missing key that assumes something is already populated in hass.data[DOMAIN][CONF_PLATE][plate]. Would be great if this could be fixed or documented.
Let me know if I can provide more logs or test fixes!
https://it.aliexpress.com/item/1005007589387082.html?spm=a2g0o.order_list.order_list_main.5.44a51802DVUsQe&gatewayAdapt=glo2ita
Beta Was this translation helpful? Give feedback.
All reactions