Skip to content

Add friendly_name to EntityCreate and EntityUpdate #56

Description

@mutzl

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions