Expose ThreeWayWindowHandle direction as sensor in Overkiz integration (#73784)
* Expose ThreeWayWindowHandle direction as sensor * Compile translationspull/73800/head
parent
eac7c5f177
commit
28cc0b9fb2
|
@ -118,3 +118,4 @@ class OverkizDeviceClass(StrEnum):
|
|||
PRIORITY_LOCK_ORIGINATOR = "overkiz__priority_lock_originator"
|
||||
SENSOR_DEFECT = "overkiz__sensor_defect"
|
||||
SENSOR_ROOM = "overkiz__sensor_room"
|
||||
THREE_WAY_HANDLE_DIRECTION = "overkiz__three_way_handle_direction"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Overkiz (by Somfy)",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/overkiz",
|
||||
"requirements": ["pyoverkiz==1.4.1"],
|
||||
"requirements": ["pyoverkiz==1.4.2"],
|
||||
"zeroconf": [
|
||||
{
|
||||
"type": "_kizbox._tcp.local.",
|
||||
|
|
|
@ -366,6 +366,12 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
|
|||
native_unit_of_measurement=PERCENTAGE,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
# ThreeWayWindowHandle/WindowHandle
|
||||
OverkizSensorDescription(
|
||||
key=OverkizState.CORE_THREE_WAY_HANDLE_DIRECTION,
|
||||
name="Three Way Handle Direction",
|
||||
device_class=OverkizDeviceClass.THREE_WAY_HANDLE_DIRECTION,
|
||||
),
|
||||
]
|
||||
|
||||
SUPPORTED_STATES = {description.key: description for description in SENSOR_DESCRIPTIONS}
|
||||
|
|
|
@ -36,6 +36,11 @@
|
|||
"low_battery": "Low battery",
|
||||
"maintenance_required": "Maintenance required",
|
||||
"no_defect": "No defect"
|
||||
},
|
||||
"overkiz__three_way_handle_direction": {
|
||||
"closed": "Closed",
|
||||
"open": "Open",
|
||||
"tilt": "Tilt"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,11 @@
|
|||
"overkiz__sensor_room": {
|
||||
"clean": "Clean",
|
||||
"dirty": "Dirty"
|
||||
},
|
||||
"overkiz__three_way_handle_direction": {
|
||||
"closed": "Closed",
|
||||
"open": "Open",
|
||||
"tilt": "Tilt"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1720,7 +1720,7 @@ pyotgw==1.1b1
|
|||
pyotp==2.6.0
|
||||
|
||||
# homeassistant.components.overkiz
|
||||
pyoverkiz==1.4.1
|
||||
pyoverkiz==1.4.2
|
||||
|
||||
# homeassistant.components.openweathermap
|
||||
pyowm==3.2.0
|
||||
|
|
|
@ -1169,7 +1169,7 @@ pyotgw==1.1b1
|
|||
pyotp==2.6.0
|
||||
|
||||
# homeassistant.components.overkiz
|
||||
pyoverkiz==1.4.1
|
||||
pyoverkiz==1.4.2
|
||||
|
||||
# homeassistant.components.openweathermap
|
||||
pyowm==3.2.0
|
||||
|
|
Loading…
Reference in New Issue