Correct JSONDecodeError in co2signal (#101206)

This commit is contained in:
Joost Lekkerkerker 2023-10-01 18:28:53 +02:00 committed by GitHub
parent 598a8890e9
commit 65c8da3bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,11 @@ from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping
from datetime import timedelta from datetime import timedelta
from json import JSONDecodeError
import logging import logging
from typing import Any, cast from typing import Any, cast
import CO2Signal import CO2Signal
from requests.exceptions import JSONDecodeError
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_API_KEY, CONF_LATITUDE, CONF_LONGITUDE from homeassistant.const import CONF_API_KEY, CONF_LATITUDE, CONF_LONGITUDE