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
4 changed files with 3 additions and 5 deletions
|
@ -33,6 +33,7 @@ from homeassistant.const import (
|
||||||
TEMP_FAHRENHEIT,
|
TEMP_FAHRENHEIT,
|
||||||
VOLUME_GALLONS,
|
VOLUME_GALLONS,
|
||||||
VOLUME_LITERS,
|
VOLUME_LITERS,
|
||||||
|
Platform,
|
||||||
)
|
)
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
from homeassistant.helpers import aiohttp_client
|
from homeassistant.helpers import aiohttp_client
|
||||||
|
@ -219,7 +220,7 @@ class PlaatoCoordinator(DataUpdateCoordinator):
|
||||||
self.api = Plaato(auth_token=auth_token)
|
self.api = Plaato(auth_token=auth_token)
|
||||||
self.hass = hass
|
self.hass = hass
|
||||||
self.device_type = device_type
|
self.device_type = device_type
|
||||||
self.platforms = []
|
self.platforms: list[Platform] = []
|
||||||
|
|
||||||
super().__init__(
|
super().__init__(
|
||||||
hass,
|
hass,
|
||||||
|
|
|
@ -55,3 +55,4 @@ class PlaatoBinarySensor(PlaatoEntity, BinarySensorEntity):
|
||||||
return BinarySensorDeviceClass.PROBLEM
|
return BinarySensorDeviceClass.PROBLEM
|
||||||
if self._sensor_type is PlaatoKeg.Pins.POURING:
|
if self._sensor_type is PlaatoKeg.Pins.POURING:
|
||||||
return BinarySensorDeviceClass.OPENING
|
return BinarySensorDeviceClass.OPENING
|
||||||
|
return None
|
||||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -2155,9 +2155,6 @@ ignore_errors = true
|
||||||
[mypy-homeassistant.components.philips_js.*]
|
[mypy-homeassistant.components.philips_js.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[mypy-homeassistant.components.plaato.*]
|
|
||||||
ignore_errors = true
|
|
||||||
|
|
||||||
[mypy-homeassistant.components.plex.*]
|
[mypy-homeassistant.components.plex.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||||
"homeassistant.components.onvif.*",
|
"homeassistant.components.onvif.*",
|
||||||
"homeassistant.components.ozw.*",
|
"homeassistant.components.ozw.*",
|
||||||
"homeassistant.components.philips_js.*",
|
"homeassistant.components.philips_js.*",
|
||||||
"homeassistant.components.plaato.*",
|
|
||||||
"homeassistant.components.plex.*",
|
"homeassistant.components.plex.*",
|
||||||
"homeassistant.components.plugwise.*",
|
"homeassistant.components.plugwise.*",
|
||||||
"homeassistant.components.profiler.*",
|
"homeassistant.components.profiler.*",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue