mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 03:35:56 +02:00
Fix lines for PEP8
This commit is contained in:
parent
dc4115b92c
commit
ea853a05a2
2 changed files with 2 additions and 1 deletions
|
@ -72,4 +72,4 @@ IRM_KMI_TO_HA_CONDITION_MAP = {
|
|||
(26, 'n'): ATTR_CONDITION_FOG,
|
||||
(27, 'd'): ATTR_CONDITION_EXCEPTIONAL,
|
||||
(27, 'n'): ATTR_CONDITION_EXCEPTIONAL
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@ class IrmKmiWeather(CoordinatorEntity, WeatherEntity):
|
|||
if datetime.now().strftime('%H') != data['hour']:
|
||||
return None
|
||||
return data
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return self._name
|
||||
|
|
Loading…
Add table
Reference in a new issue