Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ghimele committed Jul 30, 2024
1 parent 52ade7c commit 33fefe0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion components/common/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
update:
# - platform: http_request

Check warning on line 8 in components/common/update.yaml

View workflow job for this annotation

GitHub Actions / 🧹 yamllint

comment not indented like content
# name: Firmware Update
# source: http://example.com/manifest.json
# source: http://example.com/manifest.json
2 changes: 1 addition & 1 deletion components/fonts/climate_fonts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
"\U000F058E", # mdi-water-percent
"\U000F0238", # mdi-fire
"\U000F0425", # mdi-power
"\U000F050F", # mdi:thermometer
"\U000F050F", # mdi:thermometer
]
25 changes: 12 additions & 13 deletions epp-crn01.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -32,7 +32,7 @@ time:
- platform: homeassistant
id: homeassistant_time

button:
button:
- platform: template
name: "Display - Refresh Screen"
entity_category: config
Expand Down Expand Up @@ -77,7 +77,7 @@ sensor:
id: bedroom_humidity
internal: true

switch:
switch:
- platform: gpio
id: heater_relay
pin: 33
Expand All @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 33fefe0

Please sign in to comment.