fix hue tap button 4 param value typo

This commit is contained in:
Michael Zanetti 2018-12-15 19:25:56 +01:00
parent fc90d10636
commit f811fe1722
2 changed files with 2 additions and 2 deletions

View File

@ -724,7 +724,7 @@ void DevicePluginPhilipsHue::onRemoteButtonEvent(const int &buttonCode)
id = tapPressedEventTypeId; id = tapPressedEventTypeId;
break; break;
case HueRemote::TapButton4Pressed: case HueRemote::TapButton4Pressed:
param = Param(tapPressedEventButtonNameParamTypeId, "••••"); param = Param(tapPressedEventButtonNameParamTypeId, "••••");
id = tapPressedEventTypeId; id = tapPressedEventTypeId;
break; break;
default: default:

View File

@ -51,7 +51,7 @@ public:
TapButton4Pressed = 18 TapButton4Pressed = 18
}; };
explicit HueRemote(QObject *parent = 0); explicit HueRemote(QObject *parent = nullptr);
int battery() const; int battery() const;
void setBattery(const int &battery); void setBattery(const int &battery);