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

The "get parameter service" to be able to respond only with the actual value #57

Closed
2 of 6 tasks
niq83 opened this issue Dec 26, 2023 · 2 comments
Closed
2 of 6 tasks
Labels
enhancement New feature or request

Comments

@niq83
Copy link

niq83 commented Dec 26, 2023

Is there an existing issue for this?

  • I have searched the existing issues

I want to suggest:

  • support for a new product
  • new functionality for a product
  • documentation improvement
  • other

Feature description

It would be useful to be able to get only the "value" from get parameter.
Maybe even create an entity that modifies one parameter and then cheks the value

Webpage of the product, that I'm suggesting:

No response

My diagnostics data:

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@niq83 niq83 added the enhancement New feature or request label Dec 26, 2023
@denpamusic
Copy link
Owner

Hi,

Thank you for the feedback!

You can actually get the value from the service response by simply accessing it as dict, for example response["value"].
Creating an entity based on service is not recommended, since services are mostly meant for automations.

That being said, ability to add custom entities (sensors, binary sensors and numbers) is currently being worked on in the options_flow branch and will be available in v0.4.2.

You can see some screenshots of the configuration menu prototype below (number entities, will be added later):

Main menu

Screenshot of an option flow 1

Selecting entity type

Screenshot of an option flow 2

Selecting new entity type

Screenshot of an option flow 3

Filing in new entity details

Screenshot of an option flow 4

@denpamusic
Copy link
Owner

As this feature was previously discussed in #41
I'll open a new issue and close both this issue and #41, to have only one place to track progress.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants