From 33fefe0fbd6cb753ad81d88630d14ac1e8e437b7 Mon Sep 17 00:00:00 2001 From: Michele Vomera Date: Tue, 30 Jul 2024 17:31:51 +0200 Subject: [PATCH] fix: lint issues --- components/common/update.yaml | 2 +- components/fonts/climate_fonts.yaml | 2 +- epp-crn01.yaml | 25 ++++++++++++------------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/components/common/update.yaml b/components/common/update.yaml index 076c8e4..67751ce 100644 --- a/components/common/update.yaml +++ b/components/common/update.yaml @@ -7,4 +7,4 @@ update: # - platform: http_request # name: Firmware Update - # source: http://example.com/manifest.json \ No newline at end of file + # source: http://example.com/manifest.json diff --git a/components/fonts/climate_fonts.yaml b/components/fonts/climate_fonts.yaml index aa7af17..31918fc 100644 --- a/components/fonts/climate_fonts.yaml +++ b/components/fonts/climate_fonts.yaml @@ -35,5 +35,5 @@ "\U000F058E", # mdi-water-percent "\U000F0238", # mdi-fire "\U000F0425", # mdi-power - "\U000F050F", # mdi:thermometer + "\U000F050F", # mdi:thermometer ] diff --git a/epp-crn01.yaml b/epp-crn01.yaml index 1661f2a..51acfcd 100644 --- a/epp-crn01.yaml +++ b/epp-crn01.yaml @@ -11,12 +11,12 @@ substitutions: project_name: "MAM.ESPHome Crono Thermostat" version: 1.0.0 status_led_pin: GPIO02 - display_busy_pin: GPIO25 - display_reset_pin: GPIO26 - display_dc_pin: GPIO27 - display_cs_pin: GPIO15 - display_spi_clk_pin: GPIO13 - display_spi_mosi_pin: GPIO14 + display_busy_pin: GPIO25 + display_reset_pin: GPIO26 + display_dc_pin: GPIO27 + display_cs_pin: GPIO15 + display_spi_clk_pin: GPIO13 + display_spi_mosi_pin: GPIO14 target_temp_home: "21.5" target_temp_away: "17" target_temp_comfort: "22" @@ -32,7 +32,7 @@ time: - platform: homeassistant id: homeassistant_time -button: +button: - platform: template name: "Display - Refresh Screen" entity_category: config @@ -77,7 +77,7 @@ sensor: id: bedroom_humidity internal: true -switch: +switch: - platform: gpio id: heater_relay pin: 33 @@ -88,7 +88,6 @@ climate: - platform: thermostat name: "Thermostat" id: crono_thermostat - #sensor: actual_temperature sensor: home_temperature min_heating_off_time: 120s min_heating_run_time: 120s @@ -125,10 +124,10 @@ display: /* HEADER */ setlocale(LC_TIME, "it_IT"); it.strftime(10, 12, id(header_font),TextAlign::CENTER_LEFT, "%A %d %B %Y", id(homeassistant_time).now()); - + /* it.printf(10,12,id(header_font),TextAlign::CENTER_LEFT,"%s",id(pretty_date).state.c_str()); */ - /* WIFI SIGNAL */ + /* WIFI SIGNAL */ if(id(sensor_wifi_signal_percentage).has_state()) { int wifi_x = 385; int wifi_y = 12; @@ -169,7 +168,7 @@ display: it.print(32,66,id(icon_font_40), TextAlign::CENTER,"\U000F0425"); it.print(32,108,id(main_sensor_description), TextAlign::BOTTOM_LEFT,"Termo Spenti"); } - + /* Row 2 */ /* it.rectangle(32, 108, 84, 84); */ /* Home Temperature */ @@ -209,7 +208,7 @@ display: /* Home Humidity */ it.print(200,150,id(icon_font_40), TextAlign::CENTER,"\U000F058E"); it.print(200,192,id(main_sensor_description), TextAlign::BOTTOM_LEFT,"Umidita Casa"); - + /* Row 3 */ /* it.rectangle(200, 192, 84, 84); */ /* Bedroom Humidity */