mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
remove lint
This commit is contained in:
parent
53d1538bfd
commit
17dc2b00f8
1 changed files with 3 additions and 3 deletions
|
@ -168,21 +168,21 @@ class ClimateTraits {
|
|||
|
||||
protected:
|
||||
void set_mode_support_(climate::ClimateMode mode, bool supported) {
|
||||
if (supported) { // NOLINT(bugprone-branch-clone)
|
||||
if (supported) {
|
||||
supported_modes_.insert(mode);
|
||||
} else {
|
||||
supported_modes_.erase(mode);
|
||||
}
|
||||
}
|
||||
void set_fan_mode_support_(climate::ClimateFanMode mode, bool supported) {
|
||||
if (supported) { // NOLINT(bugprone-branch-clone)
|
||||
if (supported) {
|
||||
supported_fan_modes_.insert(mode);
|
||||
} else {
|
||||
supported_fan_modes_.erase(mode);
|
||||
}
|
||||
}
|
||||
void set_swing_mode_support_(climate::ClimateSwingMode mode, bool supported) {
|
||||
if (supported) { // NOLINT(bugprone-branch-clone)
|
||||
if (supported) {
|
||||
supported_swing_modes_.insert(mode);
|
||||
} else {
|
||||
supported_swing_modes_.erase(mode);
|
||||
|
|
Loading…
Reference in a new issue