1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00

Remove plaato from mypy ignore list (#64516)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-01-20 09:58:12 +01:00 committed by GitHub
parent e2a9ff5ecd
commit 3393b78e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

View File

@ -33,6 +33,7 @@ from homeassistant.const import (
TEMP_FAHRENHEIT,
VOLUME_GALLONS,
VOLUME_LITERS,
Platform,
)
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers import aiohttp_client
@ -219,7 +220,7 @@ class PlaatoCoordinator(DataUpdateCoordinator):
self.api = Plaato(auth_token=auth_token)
self.hass = hass
self.device_type = device_type
self.platforms = []
self.platforms: list[Platform] = []
super().__init__(
hass,

View File

@ -55,3 +55,4 @@ class PlaatoBinarySensor(PlaatoEntity, BinarySensorEntity):
return BinarySensorDeviceClass.PROBLEM
if self._sensor_type is PlaatoKeg.Pins.POURING:
return BinarySensorDeviceClass.OPENING
return None

View File

@ -2155,9 +2155,6 @@ ignore_errors = true
[mypy-homeassistant.components.philips_js.*]
ignore_errors = true
[mypy-homeassistant.components.plaato.*]
ignore_errors = true
[mypy-homeassistant.components.plex.*]
ignore_errors = true

View File

@ -60,7 +60,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.onvif.*",
"homeassistant.components.ozw.*",
"homeassistant.components.philips_js.*",
"homeassistant.components.plaato.*",
"homeassistant.components.plex.*",
"homeassistant.components.plugwise.*",
"homeassistant.components.profiler.*",