removed thermostat interface

master
bernhard.trinnes 2020-03-18 20:42:10 +01:00
parent ea791afbfa
commit a5b74dc4cc
2 changed files with 2 additions and 1 deletions

View File

@ -191,6 +191,7 @@ void IntegrationPluginTado::executeAction(ThingActionInfo *info)
connect(info, &ThingActionInfo::aborted, [requestId, this] {m_asyncActions.remove(requestId);}); connect(info, &ThingActionInfo::aborted, [requestId, this] {m_asyncActions.remove(requestId);});
} else if (action.actionTypeId() == zonePowerActionTypeId) { } else if (action.actionTypeId() == zonePowerActionTypeId) {
bool power = action.param(zonePowerActionPowerParamTypeId).value().toBool(); bool power = action.param(zonePowerActionPowerParamTypeId).value().toBool();
thing->setStateValue(zonePowerStateTypeId, power); // the actual power set response might be slow
QUuid requestId; QUuid requestId;
double temperature = thing->stateValue(zoneTargetTemperatureStateTypeId).toDouble(); double temperature = thing->stateValue(zoneTargetTemperatureStateTypeId).toDouble();
if (!power) { if (!power) {

View File

@ -46,7 +46,7 @@
"id": "1a7bb944-fb9c-490a-8a4c-794b27282292", "id": "1a7bb944-fb9c-490a-8a4c-794b27282292",
"name": "zone", "name": "zone",
"displayName": "Zone", "displayName": "Zone",
"interfaces": ["heating", "thermostat", "temperaturesensor", "connectable"], "interfaces": ["heating", "temperaturesensor", "humiditysensor", "connectable"],
"createMethods": ["auto"], "createMethods": ["auto"],
"paramTypes": [ "paramTypes": [
{ {