spelling: components/climacell (#64240)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-01-17 09:39:43 -05:00 committed by GitHub
parent c99ddcb80a
commit fb8c7c58b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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
) )

View file

@ -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(