esphome/esphome/components/teleinfo
0hax a687b083ae
Teleinfo ptec (#2599)
* teleinfo: handle historical mode correctly.

In historical mode, tags like PTEC leads to an issue where we detect a
timestamp wheras this is not possible in historical mode.

PTEC teleinfo tag looks like:
    PTEC HP..
Instead of the usual format
    IINST1 001 I

This make our data parsing fails.

While at here, make sure we continue parsing other tags even if parsing
one of the tag fails.

Signed-off-by: 0hax <0hax@protonmail.com>

* teleinfo: fix compilation with loglevel set to debug.

Signed-off-by: 0hax <0hax@protonmail.com>
2021-10-23 19:01:23 +02:00
..
sensor Teleinfo ptec (#2599) 2021-10-23 19:01:23 +02:00
text_sensor Teleinfo ptec (#2599) 2021-10-23 19:01:23 +02:00
__init__.py Convert more code to async-def syntax (#2095) 2021-07-30 10:54:10 +12:00
teleinfo.cpp Teleinfo ptec (#2599) 2021-10-23 19:01:23 +02:00
teleinfo.h Fix handling of timestamps in Teleinfo component. (#2392) 2021-09-27 22:32:08 +02:00