Add smart plug and FIXME warning once smart metering is suppoerted
This commit is contained in:
parent
99c10bb191
commit
26f2be5029
@ -97,8 +97,11 @@ bool IntegrationPluginZigbeeGeneric::handleNode(ZigbeeNode *node, const QUuid &n
|
||||
(endpoint->profile() == Zigbee::ZigbeeProfile::ZigbeeProfileHomeAutomation &&
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceOnOffPlugin) ||
|
||||
(endpoint->profile() == Zigbee::ZigbeeProfile::ZigbeeProfileHomeAutomation &&
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceMainPowerOutlet)) {
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceMainPowerOutlet) ||
|
||||
(endpoint->profile() == Zigbee::ZigbeeProfile::ZigbeeProfileHomeAutomation &&
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceSmartPlug)) {
|
||||
|
||||
// FIXME: create powersocket with metering for SmartPlug device ID
|
||||
qCDebug(dcZigbeeGeneric()) << "Handeling power socket endpoint for" << node << endpoint;
|
||||
createThing(powerSocketThingClassId, networkUuid, node, endpoint);
|
||||
handled = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user