Skip to content

Support run action#173

Draft
bartbutenaers wants to merge 2 commits intoFezVrasta:mainfrom
bartbutenaers:pass-hass-via-context
Draft

Support run action#173
bartbutenaers wants to merge 2 commits intoFezVrasta:mainfrom
bartbutenaers:pass-hass-via-context

Conversation

@bartbutenaers
Copy link
Copy Markdown
Contributor

Hi @FezVrasta

I didn't find it obvious to troubleshoot why I couldn't run actions via the toolbar. Seemed there were 2 separate issues:

  1. The hass config (containing a.o. the token) was not available in my hass instance, when calling the backend service.
  2. The target entity id was supplied to my HA backend in an incorrect nested property, so HA couldn't find it. As a result, this error showed up in my HA core logs all the time: The service homeassistant.turn_off cannot be called without a target

Now it seems to work from my standalone CAFE instance.
I have created a DRAFT pr, because I haven't yet tested it embedded in HA.
Can you please provide me any tips how I can test it now embedded in my HA?

Thanks for reviewing!!
Bart

@bartbutenaers bartbutenaers marked this pull request as draft February 12, 2026 22:39
FezVrasta added a commit that referenced this pull request Feb 13, 2026
The special handling for weekday fields was converting arrays to
comma-separated strings and back, which caused a type mismatch with
DynamicFieldRenderer's multi-select. DynamicFieldRenderer already
handles arrays correctly, so the special handling was removed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
craimasjien pushed a commit to craimasjien/cafe-hass that referenced this pull request Apr 16, 2026
The special handling for weekday fields was converting arrays to
comma-separated strings and back, which caused a type mismatch with
DynamicFieldRenderer's multi-select. DynamicFieldRenderer already
handles arrays correctly, so the special handling was removed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant