Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invert property for faults #412

Open
mr-n0cturne opened this issue Jan 13, 2024 · 0 comments
Open

invert property for faults #412

mr-n0cturne opened this issue Jan 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mr-n0cturne
Copy link

mr-n0cturne commented Jan 13, 2024

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 mr-n0cturne added the enhancement New feature or request label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant