55 SUB_SENSOR(total_power)
62 SUB_SENSOR(total_energy)
69 void update()
override;
70 void setup()
override;
71 void dump_config()
override;
80 void bias_correction_(uint8_t
address,
float measurements,
float correction);
82 uint8_t current_channel_{0};
84 void handle_actions_();
87 std::vector<ActionCallbackFuncPtr> action_queue_{};
This class simplifies creating components that periodically check a state.
esphome::bl0906::BL0906 __attribute__
Implementation of SPI Controller mode.
void(BL0906::*)() ActionCallbackFuncPtr
Base-class for all sensors.
esphome::sensor::Sensor * sensor
void play(Ts... x) override
Helper class to easily give an object a parent of type T.