Would be very useful for a threshold sensor to have a delay on/delay off time options
I have a washing mashine connected to a Tapo Smart Plug and wanted to use the current power usage to determine the running state of the washing mashine. Unfortunately the power usage drops to almost 0 multiple times during a washcycle, leading into constant state changes.
I would like to change the state only, if the washing mashine has low power usage for a longer amount of time.
yes this is exactly my use case
You can achieve this by making a template binary sensor with delay_on/delay_off, but those options are unfortunately only available when creating sensors in YAML. Would be great to have them in UI both for threshold and template binary sensors.
which is what i have done. but this gets more complicated if wanting to have hysteresis also
suppose it would be a good WTH: why is there no UI for delay_on/delay_off in the template binary_sensor
write it up?
we would at least be able to combine the 2 in the UI
this is what it suggesting, no? is my phrasing to imprecise or doesnt use correct home assistant terminology?
sorry, I figured you were asking for delay_on/of in the Threshold binary.
my suggestion was to WTH the regular template_binary with delay_on/off (which are already available in the integration itself, just not the UI)
if that would be implemented, we could create a template_binary with delay, based on the binary_threshold as it is…
Made a separate post here:
https://community.home-assistant.io/t/wth-isnt-it-possible-to-define-delay-on-delay-off-in-ui-for-template-binary-sensors
I think this would be very beneficial for both threshold and template binary sensors - fingers crossed!
upvoted that.
Also related:
With this it would at least be possible to create template hepers using the UI and edit only unavailable properties in the YAML.