bratanon / lovelace-conditional-entity-row

Show or hide an entity row based on a condition.
MIT License
3 stars 0 forks source link

Feature Request: state_not condition #1

Open joshtbernstein opened 4 years ago

joshtbernstein commented 4 years ago

Would love to see the ability to use state_not:

- entity: sensor.hacs
  type: custom:conditional-entity-row
  condition:
    - entity: sensor.hacs
      state_not: '0'
Nornode commented 3 years ago

Yes, this would be awesome and actually why I just installed this!

My Usecase is:

    type: custom:conditional-entity-row
      condition:
        entity: switch.sonoff_basic_relay
        state_not: 'unavailable'

This is for an entity that is intentionally not plugged in for a long time.