#Team Tracker - Hide Card When Date Attribute is null

1 messages · Page 1 of 1 (latest)

robust oak
#

Trying to modify the visibility option of a Team Tracker card where it only shows when there is a game scheduled for that team sensor. I've tried value_template: "{{ state_attr('sensor.team-name', 'date') is not none }}". The card shows even when the vaule is null.

atomic hill
#

Not sure this meets your needs but this is how I'm hiding my team tracker cards..
visibility:

  • condition: state
    entity: sensor.team_tracker
    state_not: NOT_FOUND
robust oak
#

Wow. I've struggled with this for an hour now. Thank you so much. This works perfectly.