mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove plaato from mypy ignore list (#64516)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
e2a9ff5ecd
commit
3393b78e08
@ -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,
|
||||
|
@ -55,3 +55,4 @@ class PlaatoBinarySensor(PlaatoEntity, BinarySensorEntity):
|
||||
return BinarySensorDeviceClass.PROBLEM
|
||||
if self._sensor_type is PlaatoKeg.Pins.POURING:
|
||||
return BinarySensorDeviceClass.OPENING
|
||||
return None
|
||||
|
3
mypy.ini
3
mypy.ini
@ -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
|
||||
|
||||
|
@ -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.*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user