Please mypy. (#55069)
This commit is contained in:
parent
716abaa9b1
commit
b76e8c5722
3 changed files with 2 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
"""Support for Salda Smarty XP/XV Ventilation Unit Sensors."""
|
||||
from __future__ import annotations
|
||||
|
||||
import datetime as dt
|
||||
import logging
|
||||
|
@ -43,7 +44,7 @@ class SmartySensor(SensorEntity):
|
|||
):
|
||||
"""Initialize the entity."""
|
||||
self._name = name
|
||||
self._state = None
|
||||
self._state: dt.datetime | None = None
|
||||
self._sensor_type = device_class
|
||||
self._unit_of_measurement = unit_of_measurement
|
||||
self._smarty = smarty
|
||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -1586,9 +1586,6 @@ ignore_errors = true
|
|||
[mypy-homeassistant.components.smarttub.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.smarty.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.solaredge.*]
|
||||
ignore_errors = true
|
||||
|
||||
|
|
|
@ -121,7 +121,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
|||
"homeassistant.components.sma.*",
|
||||
"homeassistant.components.smartthings.*",
|
||||
"homeassistant.components.smarttub.*",
|
||||
"homeassistant.components.smarty.*",
|
||||
"homeassistant.components.solaredge.*",
|
||||
"homeassistant.components.somfy.*",
|
||||
"homeassistant.components.somfy_mylink.*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue