Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 4a5be37

Browse files
per1234aentinger
authored andcommitted
Fix CloudTelevision volume setter name
The volume setter function was incorrectly named setSwitch.
1 parent 439f9d0 commit 4a5be37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/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)