Bayesian Binary Sensor No observations

Hi I am trying to make a Bayesian Sensory to estimate presence. But for whatever reason it looks that the sensor is not collecting data. When I click on the log of the sensor says no events and there is no observations. Do I need to leave it for a long time to start working ?

binary_sensor:
  - platform: "bayesian"
    name: "Dialyn Presence"
    prior: 0.62
    probability_threshold: 0.9
    observations:
      - entity_id: "device_tracker.dialyn_phone"
        platform: "state"
        prob_given_true: 0.8
        prob_given_false: 0.3
        to_state: "Home"

      - entity_id: "device_tracker.iphone"
        platform: "state"
        prob_given_true: 0.9
        prob_given_false: 0.1
        to_state: "Home"

      - entity_id: "device_tracker.car"
        platform: "state"
        prob_given_true: 0.8
        prob_given_false: 0.4
        to_state: "Home"

The only difference that I see vs my config is that I don’t use capital letter for home

1 Like

That was it. That capital letter in home was making it do an error. Not sure this behavior is intentional to be case sensitive. Maybe something for developers to look into ?