1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Anova fahrenheit support (#2126)

Co-authored-by: Ben Buxton <bb@cactii.net>
This commit is contained in:
buxtronix
2021-08-09 06:05:36 +10:00
committed by GitHub
parent 29f72037fe
commit fe7af21c91
6 changed files with 50 additions and 8 deletions

View File

@@ -36,12 +36,14 @@ class Anova : public climate::Climate, public esphome::ble_client::BLEClientNode
traits.set_visual_temperature_step(0.1);
return traits;
}
void set_unit_of_measurement(const char *);
protected:
AnovaCodec *codec_;
void control(const climate::ClimateCall &call) override;
uint16_t char_handle_;
uint8_t current_request_;
bool fahrenheit_;
};
} // namespace anova