We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6185636 commit 279a98eCopy full SHA for 279a98e
types/automation/CloudTelevision.h
@@ -168,14 +168,29 @@ class CloudTelevision : public ArduinoCloudProperty {
168
return _value;
169
}
170
171
+ void setSwitch(bool const swi) {
172
+ _value.swi = swi;
173
+ updateLocalTimestamp();
174
+ }
175
+
176
bool getSwitch() {
177
return _value.swi;
178
179
180
+ void setSwitch(uint8_t const vol) {
181
+ _value.vol = vol;
182
183
184
185
uint8_t getVolume() {
186
return _value.vol;
187
188
189
+ void setMute(bool const mut) {
190
+ _value.mut = mut;
191
192
193
194
bool getMute() {
195
return _value.mut;
196
0 commit comments