mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Expose ThreeWayWindowHandle direction as sensor in Overkiz integration (#73784)
* Expose ThreeWayWindowHandle direction as sensor * Compile translations
This commit is contained in:
parent
eac7c5f177
commit
28cc0b9fb2
@ -118,3 +118,4 @@ class OverkizDeviceClass(StrEnum):
|
|||||||
PRIORITY_LOCK_ORIGINATOR = "overkiz__priority_lock_originator"
|
PRIORITY_LOCK_ORIGINATOR = "overkiz__priority_lock_originator"
|
||||||
SENSOR_DEFECT = "overkiz__sensor_defect"
|
SENSOR_DEFECT = "overkiz__sensor_defect"
|
||||||
SENSOR_ROOM = "overkiz__sensor_room"
|
SENSOR_ROOM = "overkiz__sensor_room"
|
||||||
|
THREE_WAY_HANDLE_DIRECTION = "overkiz__three_way_handle_direction"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "Overkiz (by Somfy)",
|
"name": "Overkiz (by Somfy)",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/overkiz",
|
"documentation": "https://www.home-assistant.io/integrations/overkiz",
|
||||||
"requirements": ["pyoverkiz==1.4.1"],
|
"requirements": ["pyoverkiz==1.4.2"],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
{
|
{
|
||||||
"type": "_kizbox._tcp.local.",
|
"type": "_kizbox._tcp.local.",
|
||||||
|
@ -366,6 +366,12 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
|
|||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
entity_registry_enabled_default=False,
|
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}
|
SUPPORTED_STATES = {description.key: description for description in SENSOR_DESCRIPTIONS}
|
||||||
|
@ -36,6 +36,11 @@
|
|||||||
"low_battery": "Low battery",
|
"low_battery": "Low battery",
|
||||||
"maintenance_required": "Maintenance required",
|
"maintenance_required": "Maintenance required",
|
||||||
"no_defect": "No defect"
|
"no_defect": "No defect"
|
||||||
|
},
|
||||||
|
"overkiz__three_way_handle_direction": {
|
||||||
|
"closed": "Closed",
|
||||||
|
"open": "Open",
|
||||||
|
"tilt": "Tilt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,11 @@
|
|||||||
"overkiz__sensor_room": {
|
"overkiz__sensor_room": {
|
||||||
"clean": "Clean",
|
"clean": "Clean",
|
||||||
"dirty": "Dirty"
|
"dirty": "Dirty"
|
||||||
|
},
|
||||||
|
"overkiz__three_way_handle_direction": {
|
||||||
|
"closed": "Closed",
|
||||||
|
"open": "Open",
|
||||||
|
"tilt": "Tilt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1720,7 +1720,7 @@ pyotgw==1.1b1
|
|||||||
pyotp==2.6.0
|
pyotp==2.6.0
|
||||||
|
|
||||||
# homeassistant.components.overkiz
|
# homeassistant.components.overkiz
|
||||||
pyoverkiz==1.4.1
|
pyoverkiz==1.4.2
|
||||||
|
|
||||||
# homeassistant.components.openweathermap
|
# homeassistant.components.openweathermap
|
||||||
pyowm==3.2.0
|
pyowm==3.2.0
|
||||||
|
@ -1169,7 +1169,7 @@ pyotgw==1.1b1
|
|||||||
pyotp==2.6.0
|
pyotp==2.6.0
|
||||||
|
|
||||||
# homeassistant.components.overkiz
|
# homeassistant.components.overkiz
|
||||||
pyoverkiz==1.4.1
|
pyoverkiz==1.4.2
|
||||||
|
|
||||||
# homeassistant.components.openweathermap
|
# homeassistant.components.openweathermap
|
||||||
pyowm==3.2.0
|
pyowm==3.2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user