spelling: components/climacell (#64240)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
c99ddcb80a
commit
fb8c7c58b6
2 changed files with 3 additions and 3 deletions
|
@ -309,7 +309,7 @@ class ClimaCellWeatherEntity(BaseClimaCellWeatherEntity):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cloud_cover(self):
|
def cloud_cover(self):
|
||||||
"""Reteurn the cloud cover."""
|
"""Return the cloud cover."""
|
||||||
return self._get_current_property(CC_ATTR_CLOUD_COVER)
|
return self._get_current_property(CC_ATTR_CLOUD_COVER)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -458,7 +458,7 @@ class ClimaCellV3WeatherEntity(BaseClimaCellWeatherEntity):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cloud_cover(self):
|
def cloud_cover(self):
|
||||||
"""Reteurn the cloud cover."""
|
"""Return the cloud cover."""
|
||||||
return self._get_cc_value(
|
return self._get_cc_value(
|
||||||
self.coordinator.data[CURRENT], CC_V3_ATTR_CLOUD_COVER
|
self.coordinator.data[CURRENT], CC_V3_ATTR_CLOUD_COVER
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ from homeassistant.const import TEMP_FAHRENHEIT
|
||||||
|
|
||||||
|
|
||||||
async def test_post_init():
|
async def test_post_init():
|
||||||
"""Test post initiailization check for ClimaCellSensorEntityDescription."""
|
"""Test post initialization check for ClimaCellSensorEntityDescription."""
|
||||||
|
|
||||||
with pytest.raises(RuntimeError):
|
with pytest.raises(RuntimeError):
|
||||||
ClimaCellSensorEntityDescription(
|
ClimaCellSensorEntityDescription(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue