Skip to content

Commit

Permalink
shortname to wwVacations/wwHoliday to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Jun 20, 2022
1 parent 0e5cb2d commit bf18718
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/devices/thermostat.cpp
Expand Up @@ -3554,14 +3554,14 @@ void Thermostat::register_device_values() {
&wwHoliday_,
DeviceValueType::STRING,
FL_(tpl_holidays),
FL_(holidays),
FL_(wwHolidays),
DeviceValueUOM::NONE,
MAKE_CF_CB(set_wwHoliday));
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA_WW,
&wwVacation_,
DeviceValueType::STRING,
FL_(tpl_holidays),
FL_(vacations),
FL_(wwVacations),
DeviceValueUOM::NONE,
MAKE_CF_CB(set_wwVacation));
break;
Expand Down Expand Up @@ -3680,14 +3680,14 @@ void Thermostat::register_device_values() {
&wwHoliday_,
DeviceValueType::STRING,
FL_(tpl_holidays),
FL_(holidays),
FL_(wwHolidays),
DeviceValueUOM::NONE,
MAKE_CF_CB(set_wwHoliday));
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA_WW,
&wwVacation_,
DeviceValueType::STRING,
FL_(tpl_holidays),
FL_(vacations),
FL_(wwVacations),
DeviceValueUOM::NONE,
MAKE_CF_CB(set_wwVacation));
break;
Expand Down Expand Up @@ -3805,14 +3805,14 @@ void Thermostat::register_device_values() {
&wwHoliday_,
DeviceValueType::STRING,
FL_(tpl_holidays),
FL_(holidays),
FL_(wwHolidays),
DeviceValueUOM::NONE,
MAKE_CF_CB(set_wwHoliday));
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA_WW,
&wwVacation_,
DeviceValueType::STRING,
FL_(tpl_holidays),
FL_(vacations),
FL_(wwVacations),
DeviceValueUOM::NONE,
MAKE_CF_CB(set_wwVacation));
break;
Expand Down
2 changes: 2 additions & 0 deletions src/locale_DE.h
Expand Up @@ -650,6 +650,8 @@ MAKE_PSTR_LIST(summersetmode, F("summersetmode"), F("Einstellung Sommerbetrieb")
MAKE_PSTR_LIST(hpoperatingmode, F("hpoperatingmode"), F("Wärmepumpe Betriebsmodus"))
MAKE_PSTR_LIST(controlmode, F("controlmode"), F("Kontrollmodus"))
MAKE_PSTR_LIST(control, F("control"), F("Fernsteuerung"))
MAKE_PSTR_LIST(wwHolidays, F("wwholidays"), F("holiday dates"))
MAKE_PSTR_LIST(wwVacations, F("wwvacations"), F("vacation dates"))
MAKE_PSTR_LIST(holidays, F("holidays"), F("holiday dates"))
MAKE_PSTR_LIST(vacations, F("vacations"), F("vacation dates"))
MAKE_PSTR_LIST(program, F("program"), F("Programm"))
Expand Down
2 changes: 2 additions & 0 deletions src/locale_EN.h
Expand Up @@ -650,6 +650,8 @@ MAKE_PSTR_LIST(summersetmode, F("summersetmode"), F("set summer mode"))
MAKE_PSTR_LIST(hpoperatingmode, F("hpoperatingmode"), F("heatpump operating mode"))
MAKE_PSTR_LIST(controlmode, F("controlmode"), F("control mode"))
MAKE_PSTR_LIST(control, F("control"), F("control device"))
MAKE_PSTR_LIST(wwHolidays, F("wwholidays"), F("holiday dates"))
MAKE_PSTR_LIST(wwVacations, F("wwvacations"), F("vacation dates"))
MAKE_PSTR_LIST(holidays, F("holidays"), F("holiday dates"))
MAKE_PSTR_LIST(vacations, F("vacations"), F("vacation dates"))
MAKE_PSTR_LIST(program, F("program"), F("program"))
Expand Down

0 comments on commit bf18718

Please sign in to comment.