6static const char *
const TAG =
"teleinfo_sensor";
void publish_state(float state)
Publish a new state to the front-end.
void dump_config() override
TeleInfoSensor(const char *tag)
void publish_val(const std::string &val) override
Providing packet encoding functions for exchanging data with a remote host.
optional< T > parse_number(const char *str)
Parse an unsigned decimal number from a null-terminated string.