We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4985f9a commit b12c458Copy full SHA for b12c458
homeassistant/components/bayesian/binary_sensor.py
@@ -497,16 +497,18 @@ def _calculate_new_probability(self) -> float:
497
_LOGGER.debug(
498
(
499
"Observation for entity '%s' returned None, it will not be used"
500
- " for Bayesian updating"
+ " for updating Bayesian sensor '%s'"
501
),
502
observation.entity_id,
503
+ self.entity_id,
504
)
505
continue
506
507
508
"Observation for template entity returned None rather than a valid"
- " boolean, it will not be used for Bayesian updating"
509
+ " boolean, it will not be used for updating Bayesian sensor '%s'"
510
511
512
513
# the prior has been updated and is now the posterior
514
return prior
0 commit comments