mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
binary_sensor:
|
|
- name: 'Bayesian Crunching'
|
|
platform: 'bayesian'
|
|
prior: 0.25
|
|
probability_threshold: 0.7
|
|
observations:
|
|
- entity_id: 'input_boolean.bayesian_test_1' # Motion
|
|
prob_given_true: 0.99
|
|
prob_given_false: 0.85
|
|
platform: 'state'
|
|
to_state: 'on'
|
|
|
|
- entity_id: 'input_boolean.bayesian_test_2' # Person
|
|
prob_given_true: 0.99
|
|
prob_given_false: 0.85
|
|
platform: 'state'
|
|
to_state: 'on'
|
|
|
|
- entity_id: 'input_boolean.bayesian_test_3' # Home Occupied
|
|
prob_given_true: 0.99
|
|
prob_given_false: 0.01
|
|
platform: 'state'
|
|
to_state: 'on'
|
|
|
|
# - entity_id: 'input_boolean.bayesian_test_4' # person occupancy
|
|
# prob_given_true: 0.99
|
|
# prob_given_false: 0.97
|
|
# platform: 'state'
|
|
# to_state: 'on'
|
|
|
|
# - entity_id: 'input_boolean.bayesian_test_5' # dreambox recently active
|
|
# prob_given_true: 0.75
|
|
# prob_given_false: 0.5
|
|
# platform: 'state'
|
|
# to_state: 'on'
|
|
|
|
input_boolean:
|
|
bayesian_test_1:
|
|
name: Bayesian Test 1
|
|
icon: mdi:numeric-1-circle
|
|
|
|
bayesian_test_2:
|
|
name: Bayesian Test 2
|
|
icon: mdi:numeric-2-circle
|
|
|
|
bayesian_test_3:
|
|
name: Bayesian Test 3
|
|
icon: mdi:numeric-3-circle
|
|
|
|
bayesian_test_4:
|
|
name: Bayesian Test 4
|
|
icon: mdi:numeric-4-circle
|
|
|
|
bayesian_test_5:
|
|
name: Bayesian Test 5
|
|
icon: mdi:numeric-5-circle
|
|
|
|
bayesian_test_6:
|
|
name: Bayesian Test 6
|
|
icon: mdi:numeric-6-circle
|
|
|
|
bayesian_test_7:
|
|
name: Bayesian Test 7
|
|
icon: mdi:numeric-7-circle
|
|
|
|
bayesian_test_8:
|
|
name: Bayesian Test 8
|
|
icon: mdi:numeric-8-circle |