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

UI Helper for Actions in Developer Tools is missing Response Variable option #21921

Open
4 tasks done
peteS-UK opened this issue Sep 7, 2024 · 0 comments
Open
4 tasks done

Comments

@peteS-UK
Copy link

peteS-UK commented Sep 7, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

The UI helper in the Actions section of Developer Tools is missing the option for Response Variable. This option is included in the script helper for an action.

image

When calling an action from Developer Tools, it seems to always push a response_variable, which means that return_reponse is True. This means that you can't test the behaviour of custom actions which have supports_response=SupportsResponse.OPTIONAL and then have different behaviour based on serviceCall.return_response.

Describe the behavior you expected

The helper in Developer Tools/Actions should be the same as the action helper in scripts etc..

Steps to reproduce the issue

  1. Select Actions from Developer Tools
  2. Select an Action
  3. Response Variable is missing
    ...

What version of Home Assistant Core has the issue?

2024.9.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Microsoft Edge 128.0.2739.67

Which operating system are you using to run this browser?

Windows 11

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

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

No branches or pull requests

1 participant