Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,7 @@ class Clip2DtoTest {
// Resource types which do not yet have a test JSON payload available
public static final Set<ResourceType> RESOURCES_WITH_NO_JSON_TEST_CASE_YET = EnumSet.of(
//@formatter:off
ResourceType.CLIP,
ResourceType.DEVICE_SOFTWARE_UPDATE,
ResourceType.GROUPED_LIGHT_LEVEL,
ResourceType.MATTER,
ResourceType.MATTER_FABRIC,
ResourceType.MOTION_AREA_CANDIDATE,
ResourceType.SERVICE_GROUP,
ResourceType.WIFI_CONNECTIVITY,
ResourceType.ZIGBEE_DEVICE_DISCOVERY
ResourceType.SERVICE_GROUP
//@formatter:on
);

Expand Down
48 changes: 48 additions & 0 deletions bundles/org.openhab.binding.hue/src/test/resources/clip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"errors": [],
"data": [
{
"id": "a3752057-d413-4ac5-807a-8d22439678e3",
"resources": [
"behavior_script",
"behavior_instance",
"geofence_client",
"geolocation",
"smart_scene",
"clip",
"bridge_home",
"grouped_light",
"grouped_light_level",
"grouped_motion",
"room",
"service_group",
"zone",
"scene",
"homekit",
"bridge",
"button",
"device",
"device_power",
"device_software_update",
"entertainment",
"light",
"light_level",
"zigbee_connectivity",
"zgp_connectivity",
"motion",
"camera_motion",
"relative_rotary",
"temperature",
"zigbee_device_discovery",
"contact",
"tamper",
"speaker",
"bell_button",
"matter",
"matter_fabric",
"entertainment_configuration"
],
"type": "clip"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"errors": [],
"data": [
{
"id": "02517791-3140-485f-abd7-27de3ac98c5d",
"owner": {
"rid": "7da8bcc7-6e69-46c4-a2e1-e0c2de8e2270",
"rtype": "device"
},
"state": "no_update",
"problems": [],
"type": "device_software_update"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"errors": [],
"data": [
{
"id": "57b994be-ef04-40d7-88f9-2bb2897377d0",
"owner": {
"rid": "1166743f-fe3d-47d1-bd7d-b5bb378098cc",
"rtype": "room"
},
"enabled": true,
"light": {
"light_level_report": {
"changed": "2026-03-15T14:29:50.625Z",
"light_level": 17227
}
},
"type": "grouped_light_level"
},
{
"id": "7b373eed-4dd0-46c3-a863-d7bcc98607a9",
"owner": {
"rid": "f467cdcc-405f-40ab-8db9-4664aa1c3d63",
"rtype": "bridge_home"
},
"enabled": true,
"light": {
"light_level_report": {
"changed": "2026-03-15T14:29:50.665Z",
"light_level": 17227
}
},
"type": "grouped_light_level"
}
]
}
12 changes: 12 additions & 0 deletions bundles/org.openhab.binding.hue/src/test/resources/matter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"errors": [],
"data": [
{
"has_qr_code": false,
"id": "191870cd-a998-46b1-8776-db2c5f20e5cb",
"max_fabrics": 16,
"software_version_string": "1.3.0",
"type": "matter"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"errors": [],
"data": [
{
"creation_time": "2025-12-14T14:06:09Z",
"fabric_data": {
"label": "",
"vendor_id": 4996
},
"id": "d5439fd6-53bf-4677-a5e1-2ab78fa47ce9",
"status": "paired",
"type": "matter_fabric"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"errors": [],
"data": [
{
"id": "23c51b36-8768-4f70-9535-f877bfdcfbe7",
"owner": {
"rid": "b2411ad4-d28d-4b95-ad9c-bbe7c0de29aa",
"rtype": "device"
},
"capabilities": [
"sensor",
"collector",
"sync"
],
"type": "motion_area_candidate"
},
{
"id": "8170b701-9f46-48e9-b36b-713e4bf95a64",
"owner": {
"rid": "b8010fa9-808d-42bc-a3e1-a1a93bd4f89c",
"rtype": "device"
},
"capabilities": [
"sensor",
"collector",
"sync"
],
"type": "motion_area_candidate"
},
{
"id": "e48b5046-c761-43a9-b9f0-5b7010452a39",
"owner": {
"rid": "e8e472c0-2dc9-4863-9992-2271cd9a45bb",
"rtype": "device"
},
"capabilities": [
"sensor",
"collector",
"sync"
],
"type": "motion_area_candidate"
},
{
"id": "e602ee06-1709-4e3e-b062-8635f661fb6d",
"owner": {
"rid": "08342683-f333-4fa9-9528-fb91cd42124e",
"rtype": "device"
},
"capabilities": [
"sensor",
"collector",
"sync"
],
"type": "motion_area_candidate"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"errors": [],
"data": [
{
"id": "056b2f03-d0f4-7a2b-c823-bea197b411b9",
"type": "wifi_connectivity",
"status": "disconnected",
"has_ssid": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"errors": [],
"data": [
{
"id": "5c5f8c18-b6e0-4f78-acc9-d46c07361bdc",
"owner": {
"rid": "f4c5c816-925b-4e22-a112-2b44a23f5613",
"rtype": "device"
},
"status": "ready",
"action": {
"action_type_values": [
"search"
]
},
"type": "zigbee_device_discovery"
}
]
}
Loading