diff --git a/custom_components/iec/coordinator.py b/custom_components/iec/coordinator.py index a051a27..c541c99 100644 --- a/custom_components/iec/coordinator.py +++ b/custom_components/iec/coordinator.py @@ -194,6 +194,8 @@ async def _get_kva_tariff(self) -> float: try: self._kva_tariff = await self.api.get_kva_tariff() except IECError as e: + _LOGGER.exception("Failed fetching KVA Tariff from IEC API", e) + except Exception as e: _LOGGER.exception("Failed fetching KVA Tariff", e) return self._kva_tariff or 0.0