Skip to content

Commit 12fc6bb

Browse files
per1234aentinger
authored andcommitted
Fix CloudTelevision volume setter name
The volume setter function was incorrectly named setSwitch.
1 parent b389995 commit 12fc6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/automation/CloudTelevision.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class CloudTelevision : public ArduinoCloudProperty {
177177
return _value.swi;
178178
}
179179

180-
void setSwitch(uint8_t const vol) {
180+
void setVolume(uint8_t const vol) {
181181
_value.vol = vol;
182182
updateLocalTimestamp();
183183
}
@@ -231,4 +231,4 @@ class CloudTelevision : public ArduinoCloudProperty {
231231
}
232232
};
233233

234-
#endif /* CLOUDTELEVISION_H_ */
234+
#endif /* CLOUDTELEVISION_H_ */

0 commit comments

Comments
 (0)