Made the device save it last sent command
This commit is contained in:
parent
b6364e49bc
commit
ca42ff2852
16 changed files with 264 additions and 224 deletions
|
@ -11,8 +11,8 @@ using namespace TelldusCore;
|
|||
/*
|
||||
* Constructor
|
||||
*/
|
||||
DeviceNexa::DeviceNexa(int model, const std::string &strHouse, const std::string &strCode)
|
||||
:Device(model)
|
||||
DeviceNexa::DeviceNexa(int id, int model, const std::string &strHouse, const std::string &strCode)
|
||||
:Device(id, model)
|
||||
{
|
||||
if (strHouse.length() > 0) {
|
||||
intHouse = strHouse[0] - 'A';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue