6 static const char *
const TAG =
"teleinfo_sensor";
9 auto newval = parse_number<float>(
val).value_or(0.0f);
void dump_config() override
TeleInfoSensor(const char *tag)
void publish_state(float state)
Publish a new state to the front-end.
void publish_val(const std::string &val) override
Implementation of SPI Controller mode.