homeassistant-mta-subway icon indicating copy to clipboard operation
homeassistant-mta-subway copied to clipboard

Add `has_XXX_summaries` entity attributes

Open mxr opened this issue 1 year ago • 0 comments

These attributes can be used to determine whether or not various summaries exist on the state. That way I can easily determine whether or not to show/hide cards for the summaries. For example I could write a dashboard card such as:

type: entity-filter
entities:
  - type: attribute
    entity: sensor.mta_subway_l
    attribute: delay_summaries
    name: Delays
    state_filter:
      - operator: '=='
        value: true
        attribute: has_delay_summaries

mxr avatar Jan 21 '24 03:01 mxr