mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
add newlines, remove spaces
This commit is contained in:
parent
212604bebe
commit
fa26295f50
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ class ATCMiThermometer : public Component, public esp32_ble_tracker::ESPBTDevice
|
|||
sensor::Sensor *temperature_{nullptr};
|
||||
sensor::Sensor *humidity_{nullptr};
|
||||
sensor::Sensor *battery_level_{nullptr};
|
||||
|
||||
|
||||
optional<ParseResult> parse_header(const esp32_ble_tracker::ServiceData &service_data);
|
||||
bool parse_message(const std::vector<uint8_t> &message, ParseResult &result);
|
||||
bool report_results(const optional<ParseResult> &result, const std::string &address);
|
||||
|
|
|
@ -37,4 +37,4 @@ def to_code(config):
|
|||
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
|
||||
cg.add(var.set_battery_level(sens))
|
||||
|
||||
CODEOWNERS = ['@ahpohl']
|
||||
CODEOWNERS = ['@ahpohl']
|
||||
|
|
|
@ -41,4 +41,4 @@ def to_code(config):
|
|||
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
|
||||
cg.add(var.set_battery_level(sens))
|
||||
|
||||
CODEOWNERS = ['@ahpohl']
|
||||
CODEOWNERS = ['@ahpohl']
|
||||
|
|
Loading…
Reference in a new issue