Add MainPowerOutlet to power socket generic class
This commit is contained in:
parent
cdff51655f
commit
99c10bb191
@ -95,7 +95,9 @@ bool IntegrationPluginZigbeeGeneric::handleNode(ZigbeeNode *node, const QUuid &n
|
||||
if ((endpoint->profile() == Zigbee::ZigbeeProfile::ZigbeeProfileLightLink &&
|
||||
endpoint->deviceId() == Zigbee::LightLinkDevice::LightLinkDeviceOnOffPlugin) ||
|
||||
(endpoint->profile() == Zigbee::ZigbeeProfile::ZigbeeProfileHomeAutomation &&
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceOnOffPlugin)) {
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceOnOffPlugin) ||
|
||||
(endpoint->profile() == Zigbee::ZigbeeProfile::ZigbeeProfileHomeAutomation &&
|
||||
endpoint->deviceId() == Zigbee::HomeAutomationDeviceMainPowerOutlet)) {
|
||||
|
||||
qCDebug(dcZigbeeGeneric()) << "Handeling power socket endpoint for" << node << endpoint;
|
||||
createThing(powerSocketThingClassId, networkUuid, node, endpoint);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user