gadgetchnnel / lovelace-home-feed-card

A custom Lovelace card for displaying a combination of persistent notifications, calendar events, and entities in the style of a feed.
275 stars 24 forks source link

[Feature Request] Addition of attribute_map configuration entry #111

Open twi252 opened 7 months ago

twi252 commented 7 months ago

I have the following entity configuration:

  - entity: binary_sensor.0x00159c00091a7d89_contact
    attribute: contact
    content_template: '{{display_name}} contact state {{contact}}'
    remove_repeats: false
    include_history: true
    exclude_states:
      - unavailable

I use the 'attribute' contact, and i'd like to map the words false/true to open/closed. This is possible with state_map, but there does not seem to be an equivalent for attributes (attribute_map).

Thought i'd submit a feature-request for this.

Thanks.

yuejon commented 3 months ago

I too would really appreciate this feature.