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

Add friendly_name to EntityCreate and EntityUpdate #56

Open
mutzl opened this issue Jan 25, 2023 · 1 comment
Open

Add friendly_name to EntityCreate and EntityUpdate #56

mutzl opened this issue Jan 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mutzl
Copy link

mutzl commented Jan 25, 2023

not sure, if you consider this a bug or more a feature request, but...

I'd like to set a friendly_name when creating or updating an entity.

The method is missing a parameter name or friendlyName similar to unit or icon.

EntityCreate(object? @entityId = null, object? @state = null, object? @icon = null, object? @unit = null, object? @options = null, object? @attributes = null)

When trying to set this via the attributes object, it get's simply ignored and always the second part of the entityId is used instead. (sensor.my_sample -> my_sample).

@mutzl mutzl added the bug Something isn't working label Jan 25, 2023
@quettih
Copy link

quettih commented Feb 6, 2023

we also need it during creation. BUT.. if you first create entity and then go in update with the callservice, you can add icons friendly_name and so on

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

2 participants