Bump nexia to 0.9.6 (#48982)

- Now returns None when a humidity sensor cannot be read instead of throwing an exception
This commit is contained in:
J. Nick Koston 2021-04-10 00:42:42 -10:00 committed by Paulus Schoutsen
parent 82cca8fb1c
commit b96e0e69f2
4 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"domain": "nexia",
"name": "Nexia",
"requirements": ["nexia==0.9.5"],
"requirements": ["nexia==0.9.6"],
"codeowners": ["@bdraco"],
"documentation": "https://www.home-assistant.io/integrations/nexia",
"config_flow": true,

View File

@ -13,4 +13,6 @@ def is_invalid_auth_code(http_status_code):
def percent_conv(val):
"""Convert an actual percentage (0.0-1.0) to 0-100 scale."""
if val is None:
return None
return round(val * 100.0, 1)

View File

@ -986,7 +986,7 @@ netdisco==2.8.2
neurio==0.3.1
# homeassistant.components.nexia
nexia==0.9.5
nexia==0.9.6
# homeassistant.components.nextcloud
nextcloudmonitor==1.1.0

View File

@ -516,7 +516,7 @@ nessclient==0.9.15
netdisco==2.8.2
# homeassistant.components.nexia
nexia==0.9.5
nexia==0.9.6
# homeassistant.components.notify_events
notify-events==1.0.4