We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6923a commit 86fa34cCopy full SHA for 86fa34c
custom_components/iec/coordinator.py
@@ -194,6 +194,8 @@ async def _get_kva_tariff(self) -> float:
194
try:
195
self._kva_tariff = await self.api.get_kva_tariff()
196
except IECError as e:
197
+ _LOGGER.exception("Failed fetching KVA Tariff from IEC API", e)
198
+ except Exception as e:
199
_LOGGER.exception("Failed fetching KVA Tariff", e)
200
return self._kva_tariff or 0.0
201
0 commit comments