Skip to content

Battery Events for entity based notes cannot obtain renamed Battery Note device name #3589

@andrew-codechimp

Description

@andrew-codechimp

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

When using the battery low trigger event data on an entity based battery note, you cannot get a useful name for the device, since it is obtaining this from the source device, which may have many battery note entities (such as EcoWitt).

Describe the solution you'd like

Create a way to get the Battery Note device name rather than the source device, whether that's replacing the event data device_name with the Battery Notes one or providing an additional data element.

Describe alternatives you've considered

Complicated template manipulation, but since the battery note entity_id is not present either there's no way to get the device_name.

Additional context

See discussion here
#2118 (reply in thread)

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions