OK, here´s what I´d like to do (and this blueprint seems to be just perfect for it - it just doesn´t work):
1st) I want to use two to three of this blueprint automations to set a “room presence entity” to ON:
- automation 1: motion triggered
- automation 2: vibration triggered
Every automation shall set a input_boolean.room_presence
to ON when being triggered and turn it OFF after a certain timeout.
2nd) I want to use the input_boolean.room_presence
as trigger for turning things like lights etc. on afterwards.
That´s the plan. Here´s reality:
1) Feature request: It seems like trigger_timeout
only accepts hard coded values (seconds). Is it possible to also accept entities? I´d like to use a helper entity “input_number.timeout”.
2) Bug report: I discovered a bug. Not sure where exactly, but: with your never blueprint version (after February 2nd) my automation only turns the target entity ON, but never OFF.
This is the log book of the target entity:
This is the automation:
alias: Presence_Room 1_Trigger Motion
description: Trigger Motion as Input for Presence Status
use_blueprint:
path: kevinxw/state_based_entity_control.yaml
input:
trigger_entity: binary_sensor.motion1
target_entity: input_boolean.presence_room1
trigger_timeout: '10'
target_entity_state: 'on'
When I used your version prior the update from February 2nd the target entity has been turned on and off with respecting a hard coded timeout.
I then saw your update and updated the blueprint. Since then the target entity never gets turned on. I think you might have introduced a bug with your release
3) Feature request: Having the option to select multiple trigger entities (one motion, one vibration, maybe one door contact etc.) would greatly enhance the options. In my case it would reduce the amount of same automations to just one.
As I can continue using the old blueprint version, 2) is not a big issue for me.
Can you give an estimation if and when you are gonna implement feature requests (no. 1 and no. 3)?
that would be really great to see!