hon icon indicating copy to clipboard operation
hon copied to clipboard

{"message":"Invalid hanlder specified"}

Open Ontry57 opened this issue 2 months ago • 10 comments

Hello, my integration stopped work. I tried to remove creds and reinstall and see error now - {"message":"Invalid hanlder specified"}

Home assistant - Core 2024.3.3 Supervisor - 2025.11.1 Operation System 15.2 hon 0.7.16

Ontry57 avatar Nov 11 '25 18:11 Ontry57

the setup is working ? you can add your login / password ?

gvigroux avatar Nov 21 '25 08:11 gvigroux

Same here:

  • core-2025.12.0.dev202511210239
  • hon 0.7.18
2025-11-21 10:29:29.591 ERROR (MainThread) [homeassistant.config_entries] 
Error occurred loading flow for integration hon: 
cannot import name 'device_id' from 'homeassistant.helpers.template' 
(/usr/src/homeassistant/homeassistant/helpers/template/__init__.py)

Setup is NOT working (config flow does not load)

same on ha 2025.11

tbrasser avatar Nov 21 '25 09:11 tbrasser

I just did the setup flow on my side and it works as expected. Maybe you have an old config_entries stored and it creates the error. There are 2 integrations with the same domain / name : hon

gvigroux avatar Nov 21 '25 09:11 gvigroux

Do you have more details on where it fails exactly ?

gvigroux avatar Nov 21 '25 09:11 gvigroux

Can be the case, can only delete manually from .storage correct?

tbrasser avatar Nov 21 '25 13:11 tbrasser

I guess it's the only open. Or If I know where is fails in my integration, I can maybe delete it myslef.

gvigroux avatar Nov 21 '25 13:11 gvigroux

Do you have more details on where it fails exactly ?

This was all detail I could find.

nothing else in logs, nothing in .storage

tbrasser avatar Nov 22 '25 07:11 tbrasser

Could you share your credentials for 24h?

gvigroux avatar Nov 22 '25 09:11 gvigroux

For hon? Sure, let me change my pw

tbrasser avatar Nov 22 '25 13:11 tbrasser

I've send you an email 👍

tbrasser avatar Nov 23 '25 12:11 tbrasser

D'oh, sorry for wasting your time. Dev changes... https://github.com/home-assistant/core/commit/e5b2d44e8ebe90390d29b4171598673e6344d196 (etc)

So heads-up, import changes coming for template helper functions.

tbrasser avatar Nov 24 '25 00:11 tbrasser

Also OP their core version is too old (and mine too new)

I believe this can be closed :)

tbrasser avatar Nov 24 '25 07:11 tbrasser

thanks :)

gvigroux avatar Nov 24 '25 10:11 gvigroux