danobot / entity-controller

Home Assistant Entity and lighting controller for managing devices with timers, scripts, and sun-based time restrictions.
https://danobot.github.io/ec-docs/
GNU General Public License v3.0
299 stars 40 forks source link

Option: Invert sensor #303

Closed Eckart0 closed 1 year ago

Eckart0 commented 1 year ago

Hello, I have presence detectors here that are set to 'off' when there is movement and to 'on' when there is no movement. So far I'm helping myself with a template that inverts the status for entity_controller. It would be nice if entity_controller contained an option like "invert: true" (default: false). Would such an extension be possible? Many greetings, Eckart

danobot commented 1 year ago

Suggest creating a different sensor that inverts your sensor value. Then use that one in EC.