Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when using HA core 2024.12.2 with assist and nodered sentence node #1709

Closed
Alulu2401 opened this issue Dec 12, 2024 · 1 comment
Closed
Labels
duplicate This issue or pull request already exists

Comments

@Alulu2401
Copy link

Describe the bug

Hello All,

I'm reporting an issue encountered in version 2024.12.0 and above with assist. I've updated my home assistant core image and since then, i'm unable to get my automation working.
If I downgrade to 2024.11.3 version, all is getting back to work fine

For example, when i want to switch on my deskroom light i'm saying "Allume le bureau" and get this log in home assistant :

2024-12-12 21:39:11.200 ERROR (MainThread) [homeassistant.components.websocket_api.messages] Unable to serialize to JSON. Bad data found at $.event.data.result=RecognizeResult(intent=Intent(name='0', data=[IntentData(sentence_texts=['{question}'], slots={}, response=None, requires_context={}, excludes_context={}, expansion_rules={}, slot_lists={}, wildcard_list_names=set(), metadata=None, required_keywords=None, settings=IntentDataSettings(filter_with_regex=True))]), intent_data=IntentData(sentence_texts=['{question}'], slots={}, response=None, requires_context={}, excludes_context={}, expansion_rules={}, slot_lists={}, wildcard_list_names=set(), metadata=None, required_keywords=None, settings=IntentDataSettings(filter_with_regex=True)), entities={'question': MatchEntity(name='question', value='Allume le bureau', text='Allume le bureau', metadata=None, is_wildcard=True, is_wildcard_open=False)}, entities_list=[MatchEntity(name='question', value='Allume le bureau', text='Allume le bureau', metadata=None, is_wildcard=True, is_wildcard_open=False)], response='default', context={}, unmatched_entities={}, unmatched_entities_list=[], text_chunks_matched=0, intent_sentence=Sentence(items=[ListReference(list_name='question', prefix=None, suffix=None, _slot_name='question')], type=&lt;SequenceType.GROUP: 'group'&gt;, is_optional=False, text='{question}', pattern=re.compile('^(?:.+)$', re.IGNORECASE)), intent_metadata=None)(<class 'hassil.recognize.RecognizeResult'>

To Reproduce

Use home assistant 2024.12.X version with assist

Expected behavior

No response

Screenshots

No response

Example Flow

No response

Environment Information

Version: 0.74.2

Home Assistant version: 2024.12.2
Companion version: 4.1.1

Node-RED version: 4.0.5
Docker: no
Add-on: no

Node.js version: v20.18.0 x64 linux
OS: Linux 6.6.36-0-virt x64

Additional context

I've no intent in HA since i'm using node red with sentence node. My intente are managed in my node red flow.

Sentence is not showing any output. So i think this issue is located in new HA core version

@zachowj zachowj added the duplicate This issue or pull request already exists label Dec 12, 2024
@zachowj
Copy link
Owner

zachowj commented Dec 12, 2024

duplicate: zachowj/hass-node-red#327

@zachowj zachowj closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants