mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Will pushing from the server break anything?
This commit is contained in:
@@ -47,17 +47,17 @@ This is how to actuall do it!
|
||||
```yaml
|
||||
- platform: template
|
||||
value_template: >
|
||||
{{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int <= 300 and states('sensor.system_uptime') | int >= 5 }}
|
||||
{{ is_state('binary_sensor.girls_room_multisensor_motion_detection','off') and states('sensor.girls_room_last_motion') | int <= 300 and states('sensor.system_uptime') | int >= 5 }}
|
||||
prob_given_true: 0.8
|
||||
|
||||
- platform: template
|
||||
value_template: >
|
||||
{{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 300 and states('sensor.girls_room_last_motion') | int <= 600 and states('sensor.system_uptime') | int >= 5 }}
|
||||
{{ is_state('binary_sensor.girls_room_multisensor_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 300 and states('sensor.girls_room_last_motion') | int <= 600 and states('sensor.system_uptime') | int >= 5 }}
|
||||
prob_given_true: 0.6
|
||||
|
||||
- platform: template
|
||||
value_template: >
|
||||
{{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 600 and states('sensor.girls_room_last_motion') | int <= 900 and states('sensor.system_uptime') | int >= 10 }}
|
||||
{{ is_state('binary_sensor.girls_room_multisensor_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 600 and states('sensor.girls_room_last_motion') | int <= 900 and states('sensor.system_uptime') | int >= 10 }}
|
||||
prob_given_true: 0.4
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user