Add feature for disable automation when phone sensors (sensor.{{device}}_sleep_confidence) show that owner(s) is sleeping.
New config entries(optional):
disable_by_sleep_confidence(list, default null) - list of sensors
disable_by_sleep_confidence_states(int, default 90) - threshold.
If each sensor value greater than threshold - turn off automation.
Add feature for disable automation when phone sensors (sensor.{{device}}_sleep_confidence) show that owner(s) is sleeping.
New config entries(optional): disable_by_sleep_confidence(list, default null) - list of sensors disable_by_sleep_confidence_states(int, default 90) - threshold.
If each sensor value greater than threshold - turn off automation.