From fa26295f5062c1b055e646929766afa83173fdf9 Mon Sep 17 00:00:00 2001 From: Alexander Pohl Date: Thu, 24 Sep 2020 07:28:40 +0200 Subject: [PATCH] add newlines, remove spaces --- esphome/components/atc_mithermometer/atc_mithermometer.h | 2 +- esphome/components/atc_mithermometer/sensor.py | 2 +- esphome/components/xiaomi_lywsd03mmc/sensor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/atc_mithermometer/atc_mithermometer.h b/esphome/components/atc_mithermometer/atc_mithermometer.h index 9b172a9c34..572764a732 100644 --- a/esphome/components/atc_mithermometer/atc_mithermometer.h +++ b/esphome/components/atc_mithermometer/atc_mithermometer.h @@ -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 parse_header(const esp32_ble_tracker::ServiceData &service_data); bool parse_message(const std::vector &message, ParseResult &result); bool report_results(const optional &result, const std::string &address); diff --git a/esphome/components/atc_mithermometer/sensor.py b/esphome/components/atc_mithermometer/sensor.py index 4b99e0087e..3e52137119 100644 --- a/esphome/components/atc_mithermometer/sensor.py +++ b/esphome/components/atc_mithermometer/sensor.py @@ -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'] \ No newline at end of file +CODEOWNERS = ['@ahpohl'] diff --git a/esphome/components/xiaomi_lywsd03mmc/sensor.py b/esphome/components/xiaomi_lywsd03mmc/sensor.py index 9271613480..8bb546e1bf 100644 --- a/esphome/components/xiaomi_lywsd03mmc/sensor.py +++ b/esphome/components/xiaomi_lywsd03mmc/sensor.py @@ -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'] \ No newline at end of file +CODEOWNERS = ['@ahpohl']