add newlines, remove spaces

This commit is contained in:
Alexander Pohl 2020-09-24 07:28:40 +02:00
parent 212604bebe
commit fa26295f50
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ class ATCMiThermometer : public Component, public esp32_ble_tracker::ESPBTDevice
sensor::Sensor *temperature_{nullptr}; sensor::Sensor *temperature_{nullptr};
sensor::Sensor *humidity_{nullptr}; sensor::Sensor *humidity_{nullptr};
sensor::Sensor *battery_level_{nullptr}; sensor::Sensor *battery_level_{nullptr};
optional<ParseResult> parse_header(const esp32_ble_tracker::ServiceData &service_data); optional<ParseResult> parse_header(const esp32_ble_tracker::ServiceData &service_data);
bool parse_message(const std::vector<uint8_t> &message, ParseResult &result); bool parse_message(const std::vector<uint8_t> &message, ParseResult &result);
bool report_results(const optional<ParseResult> &result, const std::string &address); bool report_results(const optional<ParseResult> &result, const std::string &address);

View file

@ -37,4 +37,4 @@ def to_code(config):
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL]) sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
cg.add(var.set_battery_level(sens)) cg.add(var.set_battery_level(sens))
CODEOWNERS = ['@ahpohl'] CODEOWNERS = ['@ahpohl']

View file

@ -41,4 +41,4 @@ def to_code(config):
sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL]) sens = yield sensor.new_sensor(config[CONF_BATTERY_LEVEL])
cg.add(var.set_battery_level(sens)) cg.add(var.set_battery_level(sens))
CODEOWNERS = ['@ahpohl'] CODEOWNERS = ['@ahpohl']