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

Feature Request: Use entity_id instead of variable #62

Open
Ex0danify opened this issue Jan 14, 2022 · 1 comment
Open

Feature Request: Use entity_id instead of variable #62

Ex0danify opened this issue Jan 14, 2022 · 1 comment

Comments

@Ex0danify
Copy link

Ex0danify commented Jan 14, 2022

I don't know if this extension is still actively maintained, but I'll write my proposal anyways.

With the current situation the service call to "set_variable" MUST contain the variables entity_id as key 'variable'.

Current Situation:
When calling the service with an entity_id supplied, Home Assistant will throw an error: "extra keys not allowed @ data['entity_id']"

Request:
Remove the required 'variable' from the service data and use entity_id instead.

I looked through the code, but I can't quite seem to understand where to change it to allow the passed entity_id to be used as variable (I have an understanding of coding in general, but sadly I haven't looked into development for Home Assistant yet.)

@skynet01
Copy link

skynet01 commented May 3, 2022

+1 for this as I also have the same issue :)

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

2 participants