Address weatherkit late review comments (#100265)
* Address review comments from original weatherkit PR * Use .get() for optional fields
This commit is contained in:
parent
e87603aa59
commit
dd95b51d10
5 changed files with 95 additions and 87 deletions
|
@ -5,7 +5,10 @@ LOGGER: Logger = getLogger(__package__)
|
|||
|
||||
NAME = "Apple WeatherKit"
|
||||
DOMAIN = "weatherkit"
|
||||
ATTRIBUTION = "Data provided by Apple Weather. https://developer.apple.com/weatherkit/data-source-attribution/"
|
||||
ATTRIBUTION = (
|
||||
"Data provided by Apple Weather. "
|
||||
"https://developer.apple.com/weatherkit/data-source-attribution/"
|
||||
)
|
||||
|
||||
CONF_KEY_ID = "key_id"
|
||||
CONF_SERVICE_ID = "service_id"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue