diff --git a/bundles/org.openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryService.java b/bundles/org.openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryService.java index d4094f4ec08..a35c9c74f3a 100644 --- a/bundles/org.openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryService.java +++ b/bundles/org.openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryService.java @@ -25,8 +25,6 @@ import org.openhab.core.thing.ThingUID; import org.osgi.service.component.annotations.Activate; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Reference; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * {@link DirigeraDiscoveryService} will be notified from Bridge {@link AccountHandler} regarding @@ -37,7 +35,6 @@ import org.slf4j.LoggerFactory; @NonNullByDefault @Component(service = DiscoveryService.class, configurationPid = "discovery.dirigera") public class DirigeraDiscoveryService extends AbstractDiscoveryService { - private final Logger logger = LoggerFactory.getLogger(DirigeraDiscoveryService.class); private DirigeraDiscoveryManager dirigeraDiscoveryManager; diff --git a/bundles/org.openhab.binding.dirigera/src/test/resources/scenes/test.json b/bundles/org.openhab.binding.dirigera/src/test/resources/scenes/test.json deleted file mode 100644 index 9ffe1dc006c..00000000000 --- a/bundles/org.openhab.binding.dirigera/src/test/resources/scenes/test.json +++ /dev/null @@ -1,75 +0,0 @@ - { - "data": { - "createdAt": "2024-10-15T02:52:02.466Z", - "lastTriggered": "2024-10-15T03:04:49.427Z", - "undoAllowedDuration": 30, - "lastCompleted": "2024-10-15T03:04:49.427Z", - "lastUndo": "2024-10-15T03:03:37.537Z", - "id": "3f90176d-ca0e-4c2f-950a-4d4c96142f79", - "type": "userScene", - "triggers": [ - { - "disabled": false, - "id": "30e42a65-52e5-4001-9a50-210abeba6e43", - "trigger": { - "filter": { - "attribute": { - "isDetected": true - } - }, - "days": [ - "Mon", - "Tue", - "Wed", - "Thu", - "Fri", - "Sat", - "Sun" - ], - "deviceId": "5ac5e131-44a4-4d75-be78-759a095d31fb_1" - }, - "type": "event" - }, - { - "disabled": false, - "id": "1c515045-8888-4a63-a25c-c2675a353ab3", - "triggeredAt": "2024-10-15T03:05:04.534Z", - "type": "app" - } - ], - "actions": [ - { - "attributes": { - "lightLevel": 54, - "isOn": true, - "colorTemperature": 2188 - }, - "id": "5ffa4a1e-6fe2-4a24-b0af-b216937c4e8c_1", - "type": "device", - "deviceId": "5ffa4a1e-6fe2-4a24-b0af-b216937c4e8c_1", - "enabled": true - }, - { - "attributes": { - "lightLevel": 51, - "isOn": true, - "colorTemperature": 2188 - }, - "id": "45165c60-0c1a-4b9f-ae09-c4a6220d1420_1", - "type": "device", - "deviceId": "45165c60-0c1a-4b9f-ae09-c4a6220d1420_1", - "enabled": true - } - ], - "commands": [], - "info": { - "name": "openHAB Test", - "icon": "scenes_briefcase" - } - }, - "specversion": "3.163.0", - "id": "2f8968a5-f040-4265-a35a-22e4ea6de0ee", - "time": "2024-10-15T03:05:04.538Z", - "source": "urn:com:ikea:homesmart:iotc:rulesengine", - "type": "sceneUpdated" -} \ No newline at end of file diff --git a/bundles/org.openhab.binding.dirigera/src/test/resources/scenes/testtest.json b/bundles/org.openhab.binding.dirigera/src/test/resources/scenes/testtest.json deleted file mode 100644 index 6b93d27e814..00000000000 --- a/bundles/org.openhab.binding.dirigera/src/test/resources/scenes/testtest.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "deviceType": "environmentSensor", - "remoteLinks": [], - "createdAt": "2024-10-17T08:00:25.000Z", - "isReachable": true, - "lastSeen": "2024-10-17T08:07:42.000Z", - "capabilities": { - "canReceive": [ - "customName" - ], - "canSend": [] - }, - "attributes": { - "maxMeasuredPM25": 999, - "identifyPeriod": 0, - "currentTemperature": 20, - "permittingJoin": false, - "serialNumber": "28DBA7FFFEDFFBF6", - "minMeasuredPM25": 0, - "otaScheduleStart": "00:00", - "otaProgress": 0, - "otaScheduleEnd": "00:00", - "customName": "Cleany", - "currentPM25": 11, - "identifyStarted": "2000-01-01T00:00:00.000Z", - "otaPolicy": "autoUpdate", - "otaStatus": "upToDate", - "vocIndex": 100, - "manufacturer": "IKEA of Sweden", - "productCode": "E2112", - "otaState": "readyToCheck", - "hardwareVersion": "1", - "model": "VINDSTYRKA", - "firmwareVersion": "1.0.11", - "currentRH": 76 - }, - "id": "f80cac12-65a4-47b4-9f68-a0456a349a43_1", - "type": "sensor", - "deviceSet": [], - "room": { - "color": "ikea_green_no_65", - "name": "Loft", - "icon": "rooms_sofa", - "id": "893d50e0-f4bb-46ba-978d-e9280c6e299d" - }, - "isHidden": false -} \ No newline at end of file