Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95530

Entity-Filter Multiple Values or Operators

$
0
0

@hartman9 wrote:

I am trying to find a way within entity-filter to either have multiple operators or multiple operator values. The idea is to allow for voltage, current, and watts to be hidden when the switch is not on while also having the switch and all entities disappear when unavailable. I have spent way too much time on what probably is an easy thing. Any help is greatly appreciated, thanks.

type: entity-filter
show_empty: false
state_filter:
  - 'on'
  - 'off'
  - operator: '!='
    value: unavailable
  - operator: '>'
    value: '0.0'
entities:
  - switch.stairs_timer
  - sensor.stairs_timer_voltage
  - sensor.stairs_timer_current
  - sensor.stairs_timer_watts

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>