10 namespace binary_sensor_map {
35 void dump_config()
override;
67 std::vector<BinarySensorMapChannel> channels_{};
71 uint64_t last_mask_{0x00};
74 float bayesian_prior_{};
83 void process_group_();
85 void process_bayesian_();
96 float bayesian_predicate_(
bool sensor_state,
float prior,
float prob_given_true,
float prob_given_false);
void set_sensor_type(BinarySensorMapType sensor_type)
void set_bayesian_prior(float prior)
binary_sensor::BinarySensor * binary_sensor
union esphome::binary_sensor_map::BinarySensorMapChannel::@13 parameters
Class to map one or more binary_sensors to one Sensor.
Implementation of SPI Controller mode.
Base class for all binary_sensor-type classes.
Base-class for all sensors.
struct esphome::binary_sensor_map::BinarySensorMapChannel::@13::@14 probabilities
esphome::sensor::Sensor * sensor