Update README.rst
This commit is contained in:
parent
b825faa719
commit
5c378f3419
@ -110,6 +110,7 @@ Moreover, the telegram passed to `telegram_callback(telegram)` is already parsed
|
|||||||
However, if we construct a mock TelegramParser that just returns the already parsed object we can work around this. An example is below:
|
However, if we construct a mock TelegramParser that just returns the already parsed object we can work around this. An example is below:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import logging
|
import logging
|
||||||
#from dsmr_parser import obis_references
|
#from dsmr_parser import obis_references
|
||||||
|
Loading…
Reference in New Issue
Block a user