return m_rep;
}
- void put(OCRepresentation rep)
+ void put(const OCRepresentation& rep)
{
rep.getValue("on", m_isOn);
}
return m_rep;
}
- void put(OCRepresentation rep)
+ void put(const OCRepresentation& rep)
{
rep.getValue("open", m_isOpen);
// Note, we won't let the user change the door side!