mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Spelling fixes (#25666)
This commit is contained in:
committed by
Pascal Vizeli
parent
2f7c57b257
commit
a54ade1189
@@ -144,7 +144,7 @@ class HomematicipAccesspointStatus(HomematicipGenericDevice):
|
||||
|
||||
|
||||
class HomematicipHeatingThermostat(HomematicipGenericDevice):
|
||||
"""Represenation of a HomematicIP heating thermostat device."""
|
||||
"""Representation of a HomematicIP heating thermostat device."""
|
||||
|
||||
def __init__(self, home: AsyncHome, device) -> None:
|
||||
"""Initialize heating thermostat device."""
|
||||
@@ -173,7 +173,7 @@ class HomematicipHeatingThermostat(HomematicipGenericDevice):
|
||||
|
||||
|
||||
class HomematicipHumiditySensor(HomematicipGenericDevice):
|
||||
"""Represenation of a HomematicIP Cloud humidity device."""
|
||||
"""Representation of a HomematicIP Cloud humidity device."""
|
||||
|
||||
def __init__(self, home: AsyncHome, device) -> None:
|
||||
"""Initialize the thermometer device."""
|
||||
@@ -233,7 +233,7 @@ class HomematicipTemperatureSensor(HomematicipGenericDevice):
|
||||
|
||||
|
||||
class HomematicipIlluminanceSensor(HomematicipGenericDevice):
|
||||
"""Represenation of a HomematicIP Illuminance device."""
|
||||
"""Representation of a HomematicIP Illuminance device."""
|
||||
|
||||
def __init__(self, home: AsyncHome, device) -> None:
|
||||
"""Initialize the device."""
|
||||
@@ -259,7 +259,7 @@ class HomematicipIlluminanceSensor(HomematicipGenericDevice):
|
||||
|
||||
|
||||
class HomematicipPowerSensor(HomematicipGenericDevice):
|
||||
"""Represenation of a HomematicIP power measuring device."""
|
||||
"""Representation of a HomematicIP power measuring device."""
|
||||
|
||||
def __init__(self, home: AsyncHome, device) -> None:
|
||||
"""Initialize the device."""
|
||||
@@ -272,7 +272,7 @@ class HomematicipPowerSensor(HomematicipGenericDevice):
|
||||
|
||||
@property
|
||||
def state(self) -> float:
|
||||
"""Represenation of the HomematicIP power comsumption value."""
|
||||
"""Representation of the HomematicIP power comsumption value."""
|
||||
return self._device.currentPowerConsumption
|
||||
|
||||
@property
|
||||
@@ -282,7 +282,7 @@ class HomematicipPowerSensor(HomematicipGenericDevice):
|
||||
|
||||
|
||||
class HomematicipWindspeedSensor(HomematicipGenericDevice):
|
||||
"""Represenation of a HomematicIP wind speed sensor."""
|
||||
"""Representation of a HomematicIP wind speed sensor."""
|
||||
|
||||
def __init__(self, home: AsyncHome, device) -> None:
|
||||
"""Initialize the device."""
|
||||
@@ -290,7 +290,7 @@ class HomematicipWindspeedSensor(HomematicipGenericDevice):
|
||||
|
||||
@property
|
||||
def state(self) -> float:
|
||||
"""Represenation of the HomematicIP wind speed value."""
|
||||
"""Representation of the HomematicIP wind speed value."""
|
||||
return self._device.windSpeed
|
||||
|
||||
@property
|
||||
@@ -313,7 +313,7 @@ class HomematicipWindspeedSensor(HomematicipGenericDevice):
|
||||
|
||||
|
||||
class HomematicipTodayRainSensor(HomematicipGenericDevice):
|
||||
"""Represenation of a HomematicIP rain counter of a day sensor."""
|
||||
"""Representation of a HomematicIP rain counter of a day sensor."""
|
||||
|
||||
def __init__(self, home: AsyncHome, device) -> None:
|
||||
"""Initialize the device."""
|
||||
@@ -321,7 +321,7 @@ class HomematicipTodayRainSensor(HomematicipGenericDevice):
|
||||
|
||||
@property
|
||||
def state(self) -> float:
|
||||
"""Represenation of the HomematicIP todays rain value."""
|
||||
"""Representation of the HomematicIP todays rain value."""
|
||||
return round(self._device.todayRainCounter, 2)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user