simple-thermostat icon indicating copy to clipboard operation
simple-thermostat copied to clipboard

invert property for faults

Open mr-n0cturne opened this issue 1 year ago • 0 comments

Hello,

Is your feature request related to a problem? Please describe. Im having some tado climate binary sensors where the good state is "on" and the fault state is "off" I only want to show these icons, if the state is "off".

i.e.: connection state: on: good > hide the icon off: bad > show the icon

Describe the solution you'd like I think the easiest way would be a "invert" property

i.e.:

type: custom:simple-thermostat
entity: climate.arbeitszimmer
header:
  faults:
    - entity: binary_sensor.arbeitszimmer_heizkoerperthermostat_connection_state
      icon: mdi:lan-disconnect
      hide_inactive: true
      invert_state: true

image

mr-n0cturne avatar Jan 13 '24 20:01 mr-n0cturne