Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft work at fixing KeyError: (<VictronSensor.EXTERNAL_DEVICE_LOAD: …
…'external_device_load'>, <Units.ELECTRIC_CURRENT_AMPERE: 'A'>) keshavdv#123 Rather than fixing the problem, this aims to robustify the code by handling failed lookups - not perfectly, but well enough to move on with, rather than simply failing to record anything at all into HomeAssistant. It's probably overkill - I was trying to add in debug logs, and in hindsight, they aren't useful. Just adding the default description under line 169 and changing line 178 to use that default is probably sufficient.
- Loading branch information