Hi all,
I think I’ve hit a bug with the new UI-configured Bayesian integration in HAOS 2025.9.1.
What I tested
I have a working YAML Bayesian sensor with:
prior: 0.2, probability_threshold: 0.85
8 observations, all to_state: "off":
group_daytime_doors (0.85/0.15)
Motion: kitchen & bedroom (0.7/0.3), living/hallway/laundry/computer (0.85/0.15)
person_recently_seen (0.85/0.15)
I duplicated this exact setup via the new UI integration (same prior, threshold, and per-sensor likelihoods).
Expected
YAML and UI versions should match: near ~99–100% when all observations are “off,” and drop consistently when “on,” with both sensors staying available.
Actual
YAML: correct math, stable behavior.
UI:
Often logs one update in Logbook then flips to Unavailable.
Recovery is inconsistent.
Why this looks like a bug
Configs are identical (prior, threshold, observations, likelihoods). Only the UI-configured entity misbehaves. It feels like the new config-flow path is mishandling odds multiplication or clamping/rounding, and may also be flaking on entity availability.
System
HAOS 2025.9.1.
Anyone else able to reproduce this with the UI-based Bayesian sensor (same prior/likelihoods), or see what I’m missing? Thanks!