Update PyOverkiz to 1.3.4 (#66076)

This commit is contained in:
Mick Vleeshouwer 2022-02-08 07:11:05 -08:00 committed by GitHub
parent 59c7af0f80
commit b6ad79e2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 14 deletions

View File

@ -5,8 +5,7 @@ from datetime import timedelta
import logging import logging
from typing import Final from typing import Final
from pyoverkiz.enums import UIClass from pyoverkiz.enums import OverkizCommandParam, UIClass, UIWidget
from pyoverkiz.enums.ui import UIWidget
from homeassistant.const import Platform from homeassistant.const import Platform
@ -67,13 +66,13 @@ OVERKIZ_DEVICE_TO_PLATFORM: dict[UIClass | UIWidget, Platform] = {
# Map Overkiz camelCase to Home Assistant snake_case for translation # Map Overkiz camelCase to Home Assistant snake_case for translation
OVERKIZ_STATE_TO_TRANSLATION: dict[str, str] = { OVERKIZ_STATE_TO_TRANSLATION: dict[str, str] = {
"externalGateway": "external_gateway", OverkizCommandParam.EXTERNAL_GATEWAY: "external_gateway",
"localUser": "local_user", OverkizCommandParam.LOCAL_USER: "local_user",
"lowBattery": "low_battery", OverkizCommandParam.LOW_BATTERY: "low_battery",
"LSC": "lsc", OverkizCommandParam.LSC: "lsc",
"maintenanceRequired": "maintenance_required", OverkizCommandParam.MAINTENANCE_REQUIRED: "maintenance_required",
"noDefect": "no_defect", OverkizCommandParam.NO_DEFECT: "no_defect",
"SAAC": "saac", OverkizCommandParam.SAAC: "saac",
"SFC": "sfc", OverkizCommandParam.SFC: "sfc",
"UPS": "ups", OverkizCommandParam.UPS: "ups",
} }

View File

@ -4,7 +4,7 @@
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/overkiz", "documentation": "https://www.home-assistant.io/integrations/overkiz",
"requirements": [ "requirements": [
"pyoverkiz==1.3.2" "pyoverkiz==1.3.4"
], ],
"zeroconf": [ "zeroconf": [
{ {

View File

@ -1746,7 +1746,7 @@ pyotgw==1.1b1
pyotp==2.6.0 pyotp==2.6.0
# homeassistant.components.overkiz # homeassistant.components.overkiz
pyoverkiz==1.3.2 pyoverkiz==1.3.4
# homeassistant.components.openweathermap # homeassistant.components.openweathermap
pyowm==3.2.0 pyowm==3.2.0

View File

@ -1112,7 +1112,7 @@ pyotgw==1.1b1
pyotp==2.6.0 pyotp==2.6.0
# homeassistant.components.overkiz # homeassistant.components.overkiz
pyoverkiz==1.3.2 pyoverkiz==1.3.4
# homeassistant.components.openweathermap # homeassistant.components.openweathermap
pyowm==3.2.0 pyowm==3.2.0