Commit f62e7262 authored by Johan Ström's avatar Johan Ström

agozwave: do not read unused & invalid label in SceneActivation

parent 7f0b39b1
Pipeline #374 passed with stage
in 3 minutes and 1 second
......@@ -1741,11 +1741,10 @@ void AgoZwave::_OnNotification (Notification const* _notification)
if( /*NodeInfo* nodeInfo =*/ getNodeInfo( _notification ) )
{
int scene = _notification->GetSceneId();
ValueID id = _notification->GetValueID();
std::string label = Manager::Get()->GetValueLabel(id);
std::stringstream tempstream;
tempstream << (int) _notification->GetNodeId();
tempstream << "/1";
std::string nodeinstance = tempstream.str();
std::string eventtype = "event.device.scenechanged";
ZWaveNode *device;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment