From b3f5a0813fac2a71027f9562c599d1789930d12b Mon Sep 17 00:00:00 2001 From: Boernsman Date: Tue, 3 Nov 2020 16:20:26 +0100 Subject: [PATCH] added program finished event to all devices --- homeconnect/integrationpluginhomeconnect.cpp | 5 ++++ homeconnect/integrationpluginhomeconnect.json | 26 +++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/homeconnect/integrationpluginhomeconnect.cpp b/homeconnect/integrationpluginhomeconnect.cpp index 0e8a544e..27e17359 100644 --- a/homeconnect/integrationpluginhomeconnect.cpp +++ b/homeconnect/integrationpluginhomeconnect.cpp @@ -119,7 +119,12 @@ IntegrationPluginHomeConnect::IntegrationPluginHomeConnect() m_programFinishedEventTypeIds.insert(ovenThingClassId, ovenProgramFinishedEventTypeId); m_programFinishedEventTypeIds.insert(dryerThingClassId, dryerProgramFinishedEventTypeId); + m_programFinishedEventTypeIds.insert(cookTopThingClassId, cookTopProgramFinishedEventTypeId); m_programFinishedEventTypeIds.insert(coffeeMakerThingClassId, coffeeMakerProgramFinishedEventTypeId); + m_programFinishedEventTypeIds.insert(hoodThingClassId, hoodProgramFinishedEventTypeId); + m_programFinishedEventTypeIds.insert(washerThingClassId, washerProgramFinishedEventTypeId); + m_programFinishedEventTypeIds.insert(dishwasherThingClassId, dishwasherProgramFinishedEventTypeId); + m_programFinishedEventTypeIds.insert(cleaningRobotThingClassId, cleaningRobotProgramFinishedEventTypeId); m_coffeeStrengthTypes.insert("ConsumerProducts.CoffeeMaker.EnumType.BeanAmount.VeryMild", "Very mild"); m_coffeeStrengthTypes.insert("ConsumerProducts.CoffeeMaker.EnumType.BeanAmount.Mild", "Mild"); diff --git a/homeconnect/integrationpluginhomeconnect.json b/homeconnect/integrationpluginhomeconnect.json index 62dee791..20d7b91e 100644 --- a/homeconnect/integrationpluginhomeconnect.json +++ b/homeconnect/integrationpluginhomeconnect.json @@ -880,6 +880,13 @@ "name": "stop", "displayName": "Stop" } + ], + "eventTypes": [ + { + "id": "79e2b11e-557e-4295-b23f-7cf31d8566af", + "name": "programFinished", + "displayName": "Program finished" + } ] }, { @@ -907,6 +914,13 @@ "cached": false, "type": "bool" } + ], + "eventTypes": [ + { + "id": "0360b2af-f88f-48be-904a-b352aab0a2cd", + "name": "programFinished", + "displayName": "Program finished" + } ] }, { @@ -969,6 +983,13 @@ "defaultValue": 0, "type": "int" } + ], + "eventTypes": [ + { + "id": "79bf7b91-73d6-4d11-8530-588d301b60f2", + "name": "programFinished", + "displayName": "Program finished" + } ] }, { @@ -1031,6 +1052,11 @@ "id": "4507655c-bc98-4437-acba-8ce701ba7b5f", "name": "dockingStationNotFound", "displayName": "Docking station not found" + }, + { + "id": "4f801225-b3ac-4519-9885-243497f6b2e2", + "name": "programFinished", + "displayName": "Program finished" } ] },