Skip to content
Snippets Groups Projects
Commit 79b391c6 authored by bouni's avatar bouni Committed by Pascal Vizeli
Browse files

moved imports to top level (#27640)

parent d7d7f6a1
No related branches found
No related tags found
No related merge requests found
"""Support for the CO2signal platform."""
import logging
import CO2Signal
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import (
ATTR_ATTRIBUTION,
CONF_TOKEN,
CONF_LATITUDE,
CONF_LONGITUDE,
CONF_TOKEN,
)
from homeassistant.components.sensor import PLATFORM_SCHEMA
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity
CONF_COUNTRY_CODE = "country_code"
......@@ -97,7 +98,6 @@ class CO2Sensor(Entity):
def update(self):
"""Get the latest data and updates the states."""
import CO2Signal
_LOGGER.debug("Update data for %s", self._friendly_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment