Тычу-тычу в кнопки, ничего не получается..

This commit is contained in:
I-am-nightingale
2024-04-11 17:01:45 +03:00
parent 14b8b612ae
commit dd71a4fbe4

View File

@@ -185,6 +185,11 @@ void tclacClimate::readData() {
// Climate control
void tclacClimate::control(const ClimateCall &call) {
takeControl();
}
void tclacClimate::takeControl() {
uint8_t switchvar = 0;
@@ -580,7 +585,7 @@ void tclacClimate::dataShow(bool flow, bool shine) {
void tclacClimate::set_beeper_state(bool state) {
this->beeper_status_ = state;
if (force_mode_status_){
tclacClimate::control();
tclacClimate::takeControl();
}
}
// Получение состояния дисплея кондиционера