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

[Bug]: Visual editor not working for service calls with target floor_id #1427

Open
3 tasks done
ccMatrix opened this issue May 16, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@ccMatrix
Copy link
Contributor

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior

When creating a call-service action like light.turn_off I can pick areas but when picking a floor it will show the error:
image

Expected Behavior

The editor should allow the floor_id. From my research so far it looks like this object is loaded from the home-assistant-js-websocket npm package but it was added in a version newer to the one included in mushroom. So updating that dependency would fix the problem.

Steps To Reproduce

  1. Create a floor in home assistant with a room
  2. Create a new mushroom card (e.g. entity card)
  3. Change tap action to service call and pick the light.turn_off service
  4. Select " + Choose area" and in the dropdown pick the floor you created
  5. Visual editor will jump to yaml mode and show warning:
    image

Context

YAML state

Environment

- Browser: Edge
- HA Version: 2024.5.3
- Mushroom: 3.5.4

Anything else?

No response

@ccMatrix ccMatrix added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant