mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-04-03 08:15:30 +08:00
docs: correct docstring in ElectricBlanket initialization
This commit is contained in:
parent
180f2dc98e
commit
24f67fbe1d
@ -745,7 +745,7 @@ class ElectricBlanket(FeatureOnOff, FeatureTargetTemperature,
|
|||||||
|
|
||||||
def __init__(self, miot_device: MIoTDevice,
|
def __init__(self, miot_device: MIoTDevice,
|
||||||
entity_data: MIoTEntityData) -> None:
|
entity_data: MIoTEntityData) -> None:
|
||||||
"""Initialize the heater."""
|
"""Initialize the electric blanket."""
|
||||||
super().__init__(miot_device=miot_device, entity_data=entity_data)
|
super().__init__(miot_device=miot_device, entity_data=entity_data)
|
||||||
|
|
||||||
self._attr_icon = 'mdi:rug'
|
self._attr_icon = 'mdi:rug'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user