issue-51-telegram WIP
This commit is contained in:
		
							parent
							
								
									2adcd2b207
								
							
						
					
					
						commit
						f92836da2f
					
				| @ -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()] | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user