Permalink
Browse files

fix ThermostateMode not working with MultiInstances

  • Loading branch information...
Fishwaldo committed Jan 6, 2019
1 parent 10ba726 commit c701f5f78fbb9949a88800e34fdcd8e59b637bf4
Showing with 2 additions and 0 deletions.
  1. +1 −0 ChangeLog
  2. +1 −0 cpp/src/command_classes/ThermostatMode.cpp
@@ -235,6 +235,7 @@ Version 1.5
- Add commented config entry for Neo coolcam Battery Powered PIR Sensor (Nechry)
- Add SmartLock Idlock 150 from sveip (Nechry)
- Pull Request #1686 Added brand Simon from afimar (Nechry)
- Fix ThermostatMode CC not working with instances (Justin)

Version 1.4
- Released 10th Jan, 2016
@@ -335,6 +335,7 @@ bool ThermostatMode::SetValue
uint8 state = (uint8)value->GetItem()->m_value;

Msg* msg = new Msg( "ThermostatModeCmd_Set", GetNodeId(), REQUEST, FUNC_ID_ZW_SEND_DATA, true );
msg->SetInstance( this, _value.GetID().GetInstance() );
msg->Append( GetNodeId() );
msg->Append( 3 );
msg->Append( GetCommandClassId() );

0 comments on commit c701f5f

Please sign in to comment.