Remove plugwise from mypy ignore list (#64525)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
86dbe068e7
commit
51c8e041ea
5 changed files with 12 additions and 12 deletions
|
@ -61,7 +61,7 @@ ATTR_PRESSURE = [
|
|||
SensorStateClass.MEASUREMENT,
|
||||
]
|
||||
|
||||
TEMP_SENSOR_MAP = {
|
||||
TEMP_SENSOR_MAP: dict[str, list] = {
|
||||
"setpoint": ATTR_TEMPERATURE,
|
||||
"temperature": ATTR_TEMPERATURE,
|
||||
"intended_boiler_temperature": ATTR_TEMPERATURE,
|
||||
|
@ -71,7 +71,7 @@ TEMP_SENSOR_MAP = {
|
|||
"return_temperature": ATTR_TEMPERATURE,
|
||||
}
|
||||
|
||||
ENERGY_SENSOR_MAP = {
|
||||
ENERGY_SENSOR_MAP: dict[str, list] = {
|
||||
"electricity_consumed": [
|
||||
"Current Consumed Power",
|
||||
POWER_WATT,
|
||||
|
@ -194,7 +194,7 @@ ENERGY_SENSOR_MAP = {
|
|||
],
|
||||
}
|
||||
|
||||
MISC_SENSOR_MAP = {
|
||||
MISC_SENSOR_MAP: dict[str, list] = {
|
||||
"battery": ATTR_BATTERY_LEVEL,
|
||||
"illuminance": ATTR_ILLUMINANCE,
|
||||
"modulation_level": [
|
||||
|
@ -234,7 +234,7 @@ async def async_setup_entry(
|
|||
api = hass.data[DOMAIN][config_entry.entry_id]["api"]
|
||||
coordinator = hass.data[DOMAIN][config_entry.entry_id][COORDINATOR]
|
||||
|
||||
entities = []
|
||||
entities: list[SmileSensor] = []
|
||||
all_devices = api.get_all_devices()
|
||||
single_thermostat = api.single_master_thermostat()
|
||||
for dev_id, device_properties in all_devices.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue