RawSwitch timer mode appears to be depreciated
This commit is contained in:
committed by
Raphael Coeffic
parent
b20316e0d5
commit
71b254924e
@@ -64,9 +64,7 @@ std::string YamlRawSwitchEncode(const RawSwitch& rhs)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SWITCH_TYPE_TIMER_MODE:
|
case SWITCH_TYPE_TIMER_MODE:
|
||||||
// TODO:
|
// TODO: check as it appears to be depreciated as not in RawSwitch data model and not in radio yaml export
|
||||||
//sw_str += "Tmr";
|
|
||||||
//sw_str += std::to_string(sval + 1);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@@ -137,7 +135,7 @@ RawSwitch YamlRawSwitchDecode(const std::string& sw_str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: SWITCH_TYPE_TIMER_MODE
|
// TODO: SWITCH_TYPE_TIMER_MODE
|
||||||
//} else if (sw_str.substr(0, ?) == std::string("????")) {
|
// check as it appears to be depreciated as not in RawSwitch data model and not in radio yaml export
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// types which do not use index
|
// types which do not use index
|
||||||
|
|||||||
Reference in New Issue
Block a user