issue-51-telegram WIP

This commit is contained in:
Nigel Dokter 2023-01-15 14:01:48 +01:00
parent 2adcd2b207
commit f92836da2f

View File

@ -48,7 +48,7 @@ class Telegram(object):
return self._telegram_data[obis_reference][0] return self._telegram_data[obis_reference][0]
def __len__(self): def __len__(self):
return len(self._telegram_data) #TODO: its nested now return len(self._telegram_data) # TODO: its nested now
def _get_item_names(self): def _get_item_names(self):
return [self._obis_name_mapping[k] for k, v in self._telegram_data.items()] return [self._obis_name_mapping[k] for k, v in self._telegram_data.items()]