diff --git a/custom_components/securityspy/__init__.py b/custom_components/securityspy/__init__.py index 22ebdb0..5ef34ab 100644 --- a/custom_components/securityspy/__init__.py +++ b/custom_components/securityspy/__init__.py @@ -1,7 +1,6 @@ """SecuritySpy Platform.""" from __future__ import annotations -import asyncio import logging from aiohttp.client_exceptions import ServerDisconnectedError diff --git a/custom_components/securityspy/binary_sensor.py b/custom_components/securityspy/binary_sensor.py index ab3b027..4f278e2 100644 --- a/custom_components/securityspy/binary_sensor.py +++ b/custom_components/securityspy/binary_sensor.py @@ -1,4 +1,4 @@ -""" This component provides binary sensors for SecuritySpy.""" +"""This component provides binary sensors for SecuritySpy.""" from __future__ import annotations from dataclasses import dataclass @@ -57,7 +57,7 @@ class SecSpyBinaryEntityDescription( async def async_setup_entry( hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback ) -> None: - """Setup Binary Sensors.""" + """SecuritySpy Binary Sensor Platform.""" entry_data = hass.data[DOMAIN][entry.entry_id] secspy_object = entry_data["nvr"] secspy_data = entry_data["secspy_data"] diff --git a/custom_components/securityspy/button.py b/custom_components/securityspy/button.py index 8a71769..7afeee6 100644 --- a/custom_components/securityspy/button.py +++ b/custom_components/securityspy/button.py @@ -27,7 +27,7 @@ async def async_setup_entry( hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback ) -> None: - """Setup Binary Sensors.""" + """SecuritySpy Button Platform.""" entry_data = hass.data[DOMAIN][entry.entry_id] secspy_object = entry_data["nvr"] secspy_data = entry_data["secspy_data"] diff --git a/custom_components/securityspy/const.py b/custom_components/securityspy/const.py index 49bb323..925f4b7 100644 --- a/custom_components/securityspy/const.py +++ b/custom_components/securityspy/const.py @@ -1,4 +1,4 @@ -""" Constant definitions for SecuritySpy Integration.""" +"""Constant definitions for SecuritySpy Integration.""" import voluptuous as vol from homeassistant.helpers import config_validation as cv from homeassistant.const import ( diff --git a/custom_components/securityspy/sensor.py b/custom_components/securityspy/sensor.py index af871e9..8973fa1 100644 --- a/custom_components/securityspy/sensor.py +++ b/custom_components/securityspy/sensor.py @@ -1,4 +1,4 @@ -""" This component provides Sensors for SecuritySpy.""" +"""This component provides Sensors for SecuritySpy.""" from __future__ import annotations from dataclasses import dataclass @@ -64,7 +64,7 @@ class SecuritySpyEntityDescription(SecSpyRequiredKeysMixin, SensorEntityDescript async def async_setup_entry( hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback ) -> None: - """A SecsuritySpy Sensor.""" + """SecuritySpy Sensor Platform.""" entry_data = hass.data[DOMAIN][entry.entry_id] secspy_object = entry_data["nvr"] secspy_data = entry_data["secspy_data"] diff --git a/custom_components/securityspy/switch.py b/custom_components/securityspy/switch.py index e05b539..4a483d0 100644 --- a/custom_components/securityspy/switch.py +++ b/custom_components/securityspy/switch.py @@ -1,4 +1,4 @@ -""" This component provides Switches for SecuritySpy.""" +"""This component provides Switches for SecuritySpy.""" from __future__ import annotations import logging @@ -51,7 +51,7 @@ class SecSpyBinarySwitchDescription(SecSpyRequiredKeysMixin, SwitchEntityDescrip async def async_setup_entry( hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback ) -> None: - """A SecsuritySpy Switch.""" + """SecuritySpy Switch Platform.""" entry_data = hass.data[DOMAIN][entry.entry_id] secspy_object = entry_data["nvr"] secspy_data = entry_data["secspy_data"]