Skip to content

Commit

Permalink
Datos de observacion (temperatura) ahora se obtienen usando la librer…
Browse files Browse the repository at this point in the history
…ía meteogalicia-api
  • Loading branch information
Danieldiazi committed Oct 24, 2022
1 parent 96d3af3 commit 6d6ab93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/meteogalicia/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from . import const
from homeassistant.util import dt
import homeassistant.helpers.config_validation as cv

from homeassistant.components import meteogalicia
from meteogalicia_api.interface import MeteoGalicia

_LOGGER = logging.getLogger(__name__)
Expand Down Expand Up @@ -450,7 +448,7 @@ async def async_update(self):
if not connected:
self._state = "unavailable"
_LOGGER.warning(
"[%s] Couldn't update sensor x (%s)",
"[%s] Couldn't update sensor (%s)",
self.id,
self.exception,
)
Expand Down

0 comments on commit 6d6ab93

Please sign in to comment.