Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions homeassistant/components/overkiz/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,14 @@ class OverkizCoverDescription(CoverEntityDescription):
OverkizCoverDescription(
key=UIClass.VENETIAN_BLIND,
device_class=CoverDeviceClass.BLIND,
current_position_state=OverkizState.CORE_CLOSURE,
set_position_command=OverkizCommand.SET_CLOSURE,
open_command=OverkizCommand.OPEN,
close_command=OverkizCommand.CLOSE,
stop_command=OverkizCommand.STOP,
is_closed_state=OverkizState.CORE_OPEN_CLOSED,
current_tilt_position_state=OverkizState.CORE_SLATE_ORIENTATION,
set_tilt_position_command=OverkizCommand.SET_ORIENTATION,
open_tilt_command=OverkizCommand.TILT_UP,
close_tilt_command=OverkizCommand.TILT_DOWN,
stop_tilt_command=OverkizCommand.STOP,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7894,6 +7894,312 @@
"widget": "DynamicGate",
"oid": "a8d3e9f1-4b2c-4d5e-8f6a-1234567890ab",
"uiClass": "Gate"
},
{
"label": "Bedroom Venetian Blind",
"uiClass": "VenetianBlind",
"deviceURL": "ogp://1234-1234-6233/16730100",
"shortcut": false,
"controllableName": "ogp:VenetianBlind",
"creationTime": 1773580989000,
"lastUpdateTime": 1773580989000,
"definition": {
"commands": [
{
"commandName": "close",
"nparams": 0
},
{
"commandName": "goToAlias",
"nparams": 1
},
{
"commandName": "identify",
"nparams": 0
},
{
"commandName": "open",
"nparams": 0
},
{
"commandName": "saveAlias",
"nparams": 1
},
{
"commandName": "setClosure",
"nparams": 1
},
{
"commandName": "setName",
"nparams": 1
},
{
"commandName": "setOrientation",
"nparams": 1
},
{
"commandName": "setTilt",
"nparams": 1
},
{
"commandName": "stop",
"nparams": 0
}
],
"states": [
{
"type": "DataState",
"qualifiedName": "core:ActivePartitionState"
},
{
"type": "DiscreteState",
"values": ["available", "unavailable"],
"qualifiedName": "core:AvailabilityState"
},
{
"type": "ContinuousState",
"qualifiedName": "core:ClosureState"
},
{
"eventBased": true,
"type": "DiscreteState",
"values": [
"accessLimitation",
"internal",
"obstacleProtection",
"transportBusy",
"deviceNoAnswer",
"cancelled",
"deprecated",
"interrupted",
"thermalProtection",
"maintenanceRequired",
"alreadyUpToDate",
"notSupported",
"hardwareError",
"accessDenied",
"updateError",
"resourceAlreadyExist"
],
"qualifiedName": "core:ErrorEventState"
},
{
"type": "DataState",
"qualifiedName": "core:ErrorState"
},
{
"type": "DataState",
"qualifiedName": "core:ErrorsState"
},
{
"type": "DataState",
"qualifiedName": "core:FirmwareHashState"
},
{
"type": "DataState",
"qualifiedName": "core:FirmwareRevisionState"
},
{
"type": "DataState",
"qualifiedName": "core:NameState"
},
{
"type": "DataState",
"qualifiedName": "core:NewFirmwareAvailableState"
},
{
"type": "DiscreteState",
"values": ["closed", "open"],
"qualifiedName": "core:OpenClosedState"
},
{
"type": "DataState",
"qualifiedName": "core:ReachedAliasesState"
},
{
"type": "DataState",
"qualifiedName": "core:RemovableState"
},
{
"type": "ContinuousState",
"qualifiedName": "core:SignalQualityState"
},
{
"type": "ContinuousState",
"qualifiedName": "core:SlateOrientationState"
},
{
"type": "DiscreteState",
"values": ["available", "unavailable"],
"qualifiedName": "core:StatusState"
},
{
"type": "ContinuousState",
"qualifiedName": "core:TiltState"
}
],
"dataProperties": [],
"widgetName": "DynamicVenetianBlind",
"uiProfiles": [
"StatefulOrientableShutter",
"StatefulOrientablePlusCloseable",
"OrientablePlusCloseable",
"StatefulOpenClose",
"OpenClose",
"StatefulCloseable",
"Closeable"
],
"uiClass": "VenetianBlind",
"qualifiedName": "ogp:VenetianBlind",
"type": "ACTUATOR"
},
"states": [
{
"name": "core:NameState",
"type": 3,
"value": "Bedroom Venetian Blind"
},
{
"name": "core:AvailabilityState",
"type": 3,
"value": "available"
},
{
"name": "core:StatusState",
"type": 3,
"value": "available"
},
{
"name": "core:ErrorsState",
"type": 10,
"value": []
},
{
"name": "core:FirmwareRevisionState",
"type": 3,
"value": "5128194A13"
},
{
"name": "core:FirmwareHashState",
"type": 3,
"value": "5128194A13"
},
{
"name": "core:OpenClosedState",
"type": 3,
"value": "closed"
},
{
"name": "core:ClosureState",
"type": 1,
"value": 100
},
{
"name": "core:TiltState",
"type": 1,
"value": 38
},
{
"name": "core:SlateOrientationState",
"type": 1,
"value": 38
}
],
"attributes": [
{
"name": "core:SubType",
"type": 3,
"value": "outdoor"
},
{
"name": "core:ManufacturerReference",
"type": 3,
"value": "venetianBlind"
},
{
"name": "core:Technology",
"type": 3,
"value": "io2way"
},
{
"name": "core:SupportedAliases",
"type": 10,
"value": [
{
"id": "6",
"type": "favorite1",
"features": ["tiltPosition", "openClosePosition"]
},
{
"id": "4",
"type": "favorite1",
"features": ["tiltPosition", "openClosePosition"]
},
{
"id": "1",
"type": "favorite1",
"features": ["openClosePosition"]
},
{
"id": "2",
"type": "favorite1",
"features": ["tiltPosition"]
},
{
"id": "3",
"type": "favorite1",
"features": ["openClosePosition", "tiltPosition"]
},
{
"id": "5",
"type": "favorite1",
"features": ["openClosePosition", "tiltPosition"]
}
]
},
{
"name": "ogp:Features",
"type": 10,
"value": [
{
"name": "firmware",
"commandLess": true
},
{
"name": "openClosePosition"
},
{
"name": "tiltPosition"
},
{
"name": "openClose"
},
{
"name": "stop"
},
{
"name": "identification"
},
{
"name": "diagnosis"
},
{
"name": "alias"
}
]
},
{
"name": "core:Manufacturer",
"type": 3,
"value": "Somfy"
}
],
"available": true,
"enabled": true,
"placeOID": "972455eb-4f91-4095-bf42-55c234bb6238",
"oid": "aaaaaaaa-bbbb-cccc-dddd-ffffffffffff",
"widget": "DynamicVenetianBlind",
"type": 1
}
],
"zones": [],
Expand Down
Loading