mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 07:14:10 +01:00
Fix yamllint errors in POW configs, update CI and lint config
- Fix UART list indentation (yamllint error) - Remove trailing spaces in display lambda - Add missing newline at end of file - Add ON/OFF to yamllint truthy allowed values - Fix invalid comments rule option in .yamllint.yml - Lint only changed files in CI (avoids blocking PRs with pre-existing issues) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,10 +20,10 @@ packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
uart:
|
||||
- id: cse7766_uart
|
||||
rx_pin: 16
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
- id: cse7766_uart
|
||||
rx_pin: 16
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
@@ -82,7 +82,7 @@ display:
|
||||
it.display_kwh(false);
|
||||
it.printf(0, "%.1f", id(v_sensor).state);
|
||||
it.printf(1, "%.1f", id(a_sensor).state);
|
||||
} else {
|
||||
} else {
|
||||
it.display_voltage(false);
|
||||
it.display_kwh(true);
|
||||
it.printf(0, "%.1f", id(wh_sensor).state);
|
||||
@@ -183,4 +183,4 @@ switch:
|
||||
interlock: [relay_on]
|
||||
|
||||
time:
|
||||
- !include common/time/homeassistant.yaml
|
||||
- !include common/time/homeassistant.yaml
|
||||
|
||||
Reference in New Issue
Block a user