mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
Merge pull request #2529 from MichaelDvP/dev
dev.9: fix writing auxHeaterSource #2489
This commit is contained in:
@@ -3161,7 +3161,7 @@ bool Boiler::set_auxLimit(const char * value, const int8_t id) {
|
|||||||
bool Boiler::set_auxHeaterSource(const char * value, const int8_t id) {
|
bool Boiler::set_auxHeaterSource(const char * value, const int8_t id) {
|
||||||
uint8_t v;
|
uint8_t v;
|
||||||
if (Helpers::value2enum(value, v, FL_(enum_auxHeaterSource))) {
|
if (Helpers::value2enum(value, v, FL_(enum_auxHeaterSource))) {
|
||||||
write_command(0x491, 0, v ? 1 : 0, 0x491);
|
write_command(0x491, 0, v, 0x491);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define EMSESP_APP_VERSION "3.7.3-dev.8"
|
#define EMSESP_APP_VERSION "3.7.3-dev.9"
|
||||||
|
|||||||
Reference in New Issue
Block a user