Skip to content

Commit c9ccb5f

Browse files
committed
add types
1 parent bbb8969 commit c9ccb5f

File tree

1 file changed

+10
-1
lines changed
  • custom_components/stiebel_eltron_isg

1 file changed

+10
-1
lines changed

custom_components/stiebel_eltron_isg/number.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
from homeassistant.core import HomeAssistant
1313
from homeassistant.helpers.entity_platform import AddEntitiesCallback
1414

15+
from custom_components.stiebel_eltron_isg.coordinator import (
16+
StiebelEltronModbusDataCoordinator,
17+
)
18+
1519
from .const import (
1620
AREA_COOLING_TARGET_FLOW_TEMPERATURE,
1721
AREA_COOLING_TARGET_ROOM_TEMPERATURE,
@@ -375,7 +379,12 @@ async def async_setup_entry(
375379
class StiebelEltronISGNumberEntity(StiebelEltronISGEntity, NumberEntity):
376380
"""stiebel_eltron_isg select class."""
377381

378-
def __init__(self, coordinator, config_entry, description):
382+
def __init__(
383+
self,
384+
coordinator: StiebelEltronModbusDataCoordinator,
385+
config_entry: StiebelEltronISGIntegrationConfigEntry,
386+
description: NumberEntityDescription,
387+
):
379388
"""Initialize the sensor."""
380389
self.entity_description = description
381390
super().__init__(coordinator, config_entry)

0 commit comments

Comments
 (0)