Fix trailing spaces and missing newlines in all mcu-*.yaml files

Bulk cleanup: remove trailing whitespace and ensure files end with a
newline. Structural issues (indentation, bracket spacing) left for
per-file fixes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-19 11:22:12 +01:00
parent c88ccfbdb8
commit 7c9aae0a7d
48 changed files with 135 additions and 125 deletions

View File

@@ -10,7 +10,7 @@ esphome:
friendly_name: ${name}
area: ${area}
comment: ${comment}
esp32:
variant: esp32
framework:
@@ -18,7 +18,7 @@ esp32:
packages:
common: !include common/common.yaml
i2c:
# - id: i2c0
sda: 32
@@ -109,4 +109,4 @@ sensor:
uart_id: particle_uart
update_interval: 20s
pm_2_5:
name: Particulate Matter 2.5µm Concentration
name: Particulate Matter 2.5µm Concentration

View File

@@ -16,7 +16,7 @@ esphome:
# id(display_tft).enable();
# id(display_tft).transfer_byte(0x11);
# id(display_tft).disable();
esp32:
variant: esp32s3
flash_size: 8MB
@@ -43,7 +43,7 @@ animation:
logger:
logs:
component: ERROR
component: ERROR
web_server:
port: 80
@@ -377,7 +377,7 @@ display:
id(blinky).next_frame();
// Draw the animation my_animation at position [x=0,y=0]
it.image(0, 0, id(blinky), COLOR_ON, COLOR_OFF);
// // it.print(0, 0, id(font_default), "Hello World!");
// // it.strftime(0, 0, id(font_default), TextAlign::TOP_LEFT, "%H:%M", id(ha_time).now());
// it.rectangle(0, 0, it.get_width(), it.get_height(), id(my_blue));
@@ -498,4 +498,4 @@ time:
# active: true
# esp32_improv:
# authorizer: none
# authorizer: none

View File

@@ -16,7 +16,7 @@ esp8266:
packages:
common: !include common/common_esp8266.yaml
# Sonoff Dual R2
# GPIO10 Push Button
# GPIO00 Pin "button 0" on expansion header

View File

@@ -15,7 +15,7 @@ esp8266:
packages:
common: !include common/common_esp8266.yaml
# Sonoff Dual R2
# Pin Function
# GPIO10 Push Button
@@ -118,7 +118,7 @@ select:
id(blower_auto) = false;
id(relay_1).turn_off();
}
status_led:
pin:
number: 13
@@ -136,7 +136,7 @@ switch:
icon: mdi:power-socket-fr
pin: 5
id: relay_2
time:
- platform: homeassistant
timezone: Europe/Bratislava

View File

@@ -338,6 +338,6 @@ xiaomi_bslamp2:
master1: output_master1
master2: output_master2
front_panel:
i2c: front_panel_i2c
i2c: front_panel_i2c
address: 0x2C
trigger_pin: GPIO16

View File

@@ -319,6 +319,6 @@ xiaomi_bslamp2:
master1: output_master1
master2: output_master2
front_panel:
i2c: front_panel_i2c
i2c: front_panel_i2c
address: 0x2C
trigger_pin: GPIO16

View File

@@ -46,7 +46,7 @@ esp32:
logger:
hardware_uart: USB_SERIAL_JTAG
logs:
component: ERROR
component: ERROR
# web_server:
# port: 80
@@ -114,4 +114,4 @@ light:
state = !state;
packages:
common: !include common/common.yaml
common: !include common/common.yaml

View File

@@ -46,7 +46,7 @@ esp32:
logger:
hardware_uart: USB_SERIAL_JTAG
logs:
component: ERROR
component: ERROR
# web_server:
# port: 80
@@ -114,4 +114,4 @@ light:
state = !state;
packages:
common: !include common/common.yaml
common: !include common/common.yaml

View File

@@ -52,4 +52,4 @@ switch:
# - port: 8080
# mode: stream
# - port: 8081
# mode: snapshot
# mode: snapshot

View File

@@ -25,7 +25,7 @@ external_components:
packages:
common: !include common/common.yaml
canbus:
- platform: esp32_can
id: can_bus

View File

@@ -25,7 +25,7 @@ external_components:
packages:
common: !include common/common.yaml
canbus:
- platform: esp32_can
id: can_bus

View File

@@ -126,7 +126,7 @@ display:
if ((i % 2) == 0)
it.print("8 8 ");
else
it.print(" 8 8");
it.print(" 8 8");
} else {
if (((i / 10) % 2) == 0) {
//it.set_intensity(7);

View File

@@ -76,7 +76,7 @@ display:
if ((i % 2) == 0)
it.print("8 8 ");
else
it.print(" 8 8");
it.print(" 8 8");
} else {
if (((i / 10) % 2) == 0) {
//it.set_intensity(7);

View File

@@ -107,7 +107,7 @@ sensor:
// positive rotation
if (id(rotary).state > 0) {
//
//
if (id(rotary_button).state) {
temp -= 5.0f;
} else {

View File

@@ -35,7 +35,7 @@ esp32:
framework:
type: esp-idf
packages:
common: !include common/common.yaml

View File

@@ -20,11 +20,11 @@ esp32:
# type: esp-idf
# version: 5.1.2
# platform_version: 6.5.0
external_components:
- source: components
# - source:
# - source:
# type: git
# url: https://github.com/nielsnl68/esphome
# ref: nvds-RTTTL_I2S
@@ -94,14 +94,14 @@ light:
# condition:
# lambda: return state > 0;
# then:
# - light.turn_on:
# - light.turn_on:
# id: neo_buildin
# red: 1.0
# green: 0.0
# blue: 0.0
# brightness: 100%
# else:
# - light.turn_off:
# - light.turn_off:
# id: neo_buildin
# # green: 0.0
# # red: 0.0
@@ -134,7 +134,7 @@ speaker:
rtttl:
id: my_rtttl
speaker: echo_speaker
microphone:
- platform: i2s_audio
id: echo_microphone
@@ -148,4 +148,4 @@ voice_assistant:
- media_player.play_media:
id: media_out
media_url: !lambda |-
return x;
return x;

View File

@@ -227,12 +227,12 @@ button:
# http_request:
# useragent: esphome/${device}
# timeout: 5s
# # Example configuration entry
# interval:
# - interval: 1min
# then:
# # - script.execute: say_hello_server
# - http_request.get:
# - http_request.get:
# url: https://esphome.io
# verify_ssl: false

View File

@@ -2,7 +2,7 @@ substitutions:
device: eworkbench
name: Electronics Workbench
comment: "Office R | Electronics Workbench"
esphome:
name: mcu-${device}
friendly_name: ${name}
@@ -32,7 +32,7 @@ packages:
# GPIO7 GPIO
# GPIO8 GPIO
# GPIO10 GPIO
# GPIO18 UART RX
# GPIO18 UART RX
# GPIO19 UART TX
i2c:
@@ -257,7 +257,7 @@ time:
# if ((i % 2) == 0)
# it.print("8 8 ");
# else
# it.print(" 8 8");
# it.print(" 8 8");
# } else {
# if (((i / 10) % 2) == 0) {
# //it.set_intensity(7);

View File

@@ -14,7 +14,7 @@ esp32:
variant: esp32
framework:
type: esp-idf
packages:
common: !include common/common.yaml
@@ -116,7 +116,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_yaris
- binary_sensor.is_off: ibeacon_pcx125
- binary_sensor.is_off: ibeacon_dl650
then:
then:
- button.press: gate_open
on_release:
- if:
@@ -127,7 +127,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_yaris
- binary_sensor.is_off: ibeacon_pcx125
- binary_sensor.is_off: ibeacon_dl650
then:
then:
- button.press: gate_close
- platform: ble_presence
id: ibeacon_yaris
@@ -143,7 +143,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_auris
- binary_sensor.is_off: ibeacon_pcx125
- binary_sensor.is_off: ibeacon_dl650
then:
then:
- button.press: gate_open
on_release:
- if:
@@ -154,7 +154,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_auris
- binary_sensor.is_off: ibeacon_pcx125
- binary_sensor.is_off: ibeacon_dl650
then:
then:
- button.press: gate_close
- platform: ble_presence
id: ibeacon_pcx125
@@ -170,7 +170,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_auris
- binary_sensor.is_off: ibeacon_yaris
- binary_sensor.is_off: ibeacon_dl650
then:
then:
- button.press: gate_open
on_release:
- if:
@@ -181,7 +181,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_auris
- binary_sensor.is_off: ibeacon_yaris
- binary_sensor.is_off: ibeacon_dl650
then:
then:
- button.press: gate_close
- platform: ble_presence
id: ibeacon_dl650
@@ -197,7 +197,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_auris
- binary_sensor.is_off: ibeacon_yaris
- binary_sensor.is_off: ibeacon_pcx125
then:
then:
- button.press: gate_open
on_release:
- if:
@@ -208,7 +208,7 @@ binary_sensor:
- binary_sensor.is_off: ibeacon_auris
- binary_sensor.is_off: ibeacon_yaris
- binary_sensor.is_off: ibeacon_pcx125
then:
then:
- button.press: gate_close
# - platform: gpio
# id: gate_flash

View File

@@ -241,7 +241,7 @@ switch:
number: 5
# - platform: uart
# name: Total Heater Power Reset
# uart_id:
# uart_id:
# id: reset_total_heater_power
# data: [0x01, 0x42, 0x80, 0x11]
@@ -256,7 +256,7 @@ sensor:
# [22:06:25][D][dallas.sensor:082]: 0xB2041750CF1AFF28 Heating Water (OUT from Heater, TO System)
# [22:06:25][D][dallas.sensor:082]: 0x960417517301FF28 Hot Water Tank - TOP (Heater)
# address: 0x320417500A93FF28 # 1. broken
# address: 0x67041750F44CFF28 # 2. broken
# address: 0x67041750F44CFF28 # 2. broken
address: 0x960417517301FF28 # Hot Water Tank - TOP (Heater)
name: Heater
id: hot_water_heater
@@ -297,7 +297,7 @@ sensor:
lambda: |-
//# platba za odberne miesto 0,75 1,1
//# pevna mesacna zlozka tarify 0,15080000 0,1508 * 75 A
//## platba za systemove sluzby 0,00629760
//# platba za prevadzku systemu 0,01590000
//# variabilna zlozka tarify za distribuciu 0,00398400
@@ -346,7 +346,7 @@ sensor:
- lambda: return x * (0.001) + 2282;
unit_of_measurement: kWh
icon: mdi:counter
# L2
# L2
- platform: pzemac
address: 162
current:
@@ -507,4 +507,4 @@ binary_sensor:
- switch.turn_on: heating_demand
on_release:
then:
- switch.turn_off: heating_demand
- switch.turn_off: heating_demand

View File

@@ -10,7 +10,7 @@ esphome:
friendly_name: ${name}
area: ${area}
comment: ${comment}
esp32:
variant: esp32
framework:

View File

@@ -29,13 +29,13 @@ i2c:
psram:
mode: octal
speed: 40MHz
spi:
id: display_qspi
type: quad
clk_pin: 47
data_pins: [21, 48, 40, 39]
color:
- id: my_red
red: 100%

View File

@@ -28,13 +28,13 @@ i2c:
psram:
mode: octal
speed: 80MHz
spi:
id: display_qspi
type: quad
clk_pin: 47
data_pins: [21, 48, 40, 39]
color:
- id: my_red
red: 100%
@@ -140,7 +140,7 @@ touchscreen:
display: main_display
i2c_id: touchscreen_bus
update_interval: 100ms
# interrupt_pin:
# interrupt_pin:
# number: 3
# ignore_strapping_warning: true
calibration:
@@ -286,4 +286,4 @@ lvgl:
- homeassistant.action:
action: light.toggle
data:
entity_id: light.mcu_dimmer_exercise_room_fan
entity_id: light.mcu_dimmer_exercise_room_fan

View File

@@ -27,12 +27,12 @@ esp32:
psram:
mode: octal
speed: 80MHz
speed: 80MHz
packages:
common: !include common/common.yaml
# PINOUTS: ESP32 Cheap Yellow Display, 4.3", IPS, Capacitive
# PINOUTS: ESP32 Cheap Yellow Display, 4.3", IPS, Capacitive
## Display
# R0 GND
# R1 GND
@@ -256,7 +256,7 @@ script:
# src: solar_power_icon
# img_recolor: 0xFFF000 #mixes this color with the base image
# #img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
# #bg_color: 0xFFFFFF
# #bg_color: 0xFFFFFF
# # - lvgl.indicator.line.update:
# # id: power_meter_input2
# # value: !lambda return id(counting_number).state;
@@ -288,7 +288,7 @@ script:
# src: solar_power_icon
# img_recolor: 0xFFF000 #mixes this color with the base image
# #img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
# #bg_color: 0xFFFFFF
# #bg_color: 0xFFFFFF
image:
- file: mdi:sun-wireless-outline
@@ -329,7 +329,7 @@ lvgl:
bg_opa: TRANSP
bg_color: 0
radius: 4
pad_all: 2
pad_all: 2
- id: details_style
text_font: MONTSERRAT_18
align: center
@@ -338,7 +338,7 @@ lvgl:
bg_opa: TRANSP
bg_color: 0
radius: 4
pad_all: 2
pad_all: 2
widgets:
- obj: # Meter
height: 240
@@ -663,4 +663,4 @@ lvgl:
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF
y: 50
#x: -60
#x: -60

View File

@@ -27,7 +27,7 @@ time:
- platform: homeassistant
id: ha_time
timezone: Europe/Bratislava
on_time_sync:
on_time_sync:
- bm8563.write_time
- platform: bm8563
id: rtc_time
@@ -75,9 +75,9 @@ binary_sensor:
pin:
number: 37
inverted: true
on_press:
on_press:
- component.update: m5paper_display
on_release:
on_release:
- component.update: m5paper_display
- platform: gpio
name: ${name} Button Press
@@ -100,7 +100,7 @@ binary_sensor:
x_max: 100
y_min: 0
y_max: 100
on_press:
on_press:
# Example of applying the sleep duration and shutting down to the lowest power mode
- bm8563.apply_sleep_duration
- delay: 1s

View File

@@ -21,7 +21,7 @@ esp32:
variant: esp32
framework:
type: esp-idf
packages:
common: !include common/common.yaml
@@ -99,7 +99,7 @@ sensor:
# - lambda: return x * (0.001) + 2282;
# unit_of_measurement: kWh
# icon: mdi:counter
# L2
# L2
- platform: pzemac
address: 11
id: pzemac_l2
@@ -224,7 +224,7 @@ button:
- pzemac.reset_energy: pzemac_l1
- pzemac.reset_energy: pzemac_l2
- pzemac.reset_energy: pzemac_l3
time:
- platform: homeassistant
id: ha_time
@@ -234,4 +234,4 @@ time:
then:
- pzemac.reset_energy: pzemac_l1
- pzemac.reset_energy: pzemac_l2
- pzemac.reset_energy: pzemac_l3
- pzemac.reset_energy: pzemac_l3

10
mcu-nrf-dk.yaml Normal file
View File

@@ -0,0 +1,10 @@
esphome:
name: mcu-nrf-dk
friendly_name: mcu-nrf-dk
nrf52:
board: nrf52840_dk
bootloader: adafruit_nrf52_sd140_v7
# Enable logging
logger:

View File

@@ -33,7 +33,7 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev
components: [nspanel_lovelace]
packages:
common: !include common/common.yaml
@@ -63,7 +63,7 @@ api:
then:
- lambda: |-
id(nspanel_id).upload_tft("${tft_url}");
- service: upload_tft
variables:
url: string
@@ -267,7 +267,7 @@ sensor:
reference_temperature: 25°C
reference_resistance: 10kOhm
name: Temperature
- platform: template
id: room_temperature_id

View File

@@ -51,7 +51,7 @@ external_components:
refresh: 0s
components: [nspanel_lovelace]
# - source: components
packages:
common: !include common/common.yaml
# common: !include common/common_dev.yaml
@@ -90,7 +90,7 @@ api:
# then:
# - lambda: |-
# id(nspanel_id).upload_tft("${tft_url}");
# - service: upload_tft
# variables:
# url: string
@@ -517,7 +517,7 @@ sensor:
reference_temperature: 25°C
reference_resistance: 10kOhm
name: Living Room Temperature Entry
- platform: template
id: room_temperature_id

View File

@@ -31,7 +31,7 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev
components: [nspanel_lovelace]
packages:
common: !include common/common.yaml
@@ -61,7 +61,7 @@ api:
then:
- lambda: |-
id(nspanel_id).upload_tft("${tft_url}");
- service: upload_tft
variables:
url: string
@@ -294,6 +294,6 @@ sensor:
reference_temperature: 25°C
reference_resistance: 10kOhm
name: "Living Room Temperature"
- platform: template
id: room_temperature_id

View File

@@ -32,13 +32,13 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev
components: [nspanel_lovelace]
packages:
common: !include common/common.yaml
api:
# https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h
#
#
# stupnovane:d=4,o=6,b=180:c,e,g
# help:d=4,o=6,b=100:f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f
# gate_opening:d=16,o=5,b=160:a, 8p, a
@@ -67,7 +67,7 @@ api:
then:
- lambda: |-
id(nspanel_id).upload_tft("${tft_url}");
- service: upload_tft
variables:
url: string
@@ -299,7 +299,7 @@ sensor:
# text_sensor:
# - platform: ble_scanner
# name: BLE Scanner
# esp32_ble_beacon:
# type: iBeacon
# uuid: '6d68252f-2e6f-b5b9-965f-43c0a3713880'

View File

@@ -33,7 +33,7 @@ external_components:
url: https://github.com/sairon/esphome-nspanel-lovelace-ui
ref: dev
components: [nspanel_lovelace]
packages:
common: !include common/common.yaml
@@ -56,7 +56,7 @@ script:
api:
# https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h
#
#
# stupnovane:d=4,o=6,b=180:c,e,g
# help:d=4,o=6,b=100:f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f
# gate_opening:d=16,o=5,b=160:a, 8p, a
@@ -86,7 +86,7 @@ api:
- logger.log: "tft updating from: ${tft_url}"
- lambda: |-
id(nspanel_id).upload_tft("${tft_url}");
- service: upload_tft
variables:
url: string
@@ -356,7 +356,7 @@ sensor:
# text_sensor:
# - platform: ble_scanner
# name: BLE Scanner
# esp32_ble_beacon:
# type: iBeacon
# uuid: '6d68252f-2e6f-b5b9-965f-43c0a3713880'

View File

@@ -32,7 +32,7 @@ external_components:
ref: dev
components: [nspanel_lovelace]
- source: components
packages:
common: !include common/common.yaml
@@ -62,7 +62,7 @@ api:
then:
- lambda: |-
id(nspanel_id).upload_tft("${tft_url}");
- service: upload_tft
variables:
url: string
@@ -235,7 +235,7 @@ switch:
entity_category: config
pin:
number: 19
- platform: gpio
name: Screen Power
id: screen_power
@@ -270,6 +270,6 @@ sensor:
reference_temperature: 25°C
reference_resistance: 10kOhm
name: Living Room Temperature
- platform: template
id: room_temperature_id

View File

@@ -3,7 +3,7 @@ substitutions:
name: Office R
area: Office R
comment: "${area} | MS Teams presence"
esphome:
name: mcu-${device}
friendly_name: ${name}
@@ -54,4 +54,4 @@ output:
pin: 5
- platform: ledc
id: led_blue
pin: 6
pin: 6

View File

@@ -3,7 +3,7 @@ substitutions:
name: Patio
area: Outside
comment: "${area}, Patio | On the back yard"
esphome:
name: mcu-${device}
friendly_name: ${name}

View File

@@ -73,4 +73,4 @@ status_led:
# rc_switch_raw:
# code: '100000000001010000000010'
# protocol: 1
# repeat: 3
# repeat: 3

View File

@@ -108,4 +108,4 @@ switch:
mode: OUTPUT
time:
- !include common/time/homeassistant.yaml
- !include common/time/homeassistant.yaml

View File

@@ -72,7 +72,7 @@ light:
name: Blue LED
id: light_blue
output: led_blue
sensor:
- platform: hlw8012
sel_pin:

View File

@@ -74,7 +74,7 @@ output:
pin: GPIO02
id: led_blue
inverted: True
sensor:
- platform: hlw8012
sel_pin:

View File

@@ -59,7 +59,7 @@ binary_sensor:
- delay: 10s
- switch.turn_off: relay
- light.turn_off: light_blue
output:
- platform: gpio
pin: GPIO00
@@ -79,7 +79,7 @@ light:
name: Blue LED
id: light_blue
output: led_blue
sensor:
- platform: hlw8012
sel_pin:

View File

@@ -32,7 +32,7 @@ packages:
logger:
logs:
component: ERROR
component: ERROR
# GPIO1 UART TX
# GPIO3 UART RX

View File

@@ -9,7 +9,7 @@ esphome:
comment: ${comment}
on_boot:
# priority: -10
priority: 600
priority: 600
then:
- logger.log: turning modem off
- binary_sensor.template.publish:
@@ -33,7 +33,7 @@ esphome:
state: ON
# - switch.turn_on: cmd_gnss_enable
# on_boot:
# priority: 600
# priority: 600
# then:
# # https://www.manualslib.com/manual/1498555/Simcom-Sim7000g.html?page=25#manual
# - logger.log: turning modem off
@@ -42,7 +42,7 @@ esphome:
# state: OFF
# # The doc says that pulling 'modem_power' to ground works,
# # But I had to put if off for 2.6s, then on ?
# - switch.turn_off: modem_powerkey
# - switch.turn_off: modem_powerkey
# - delay: 2.6s
# - switch.turn_on: modem_powerkey
# - logger.log: waiting off status
@@ -100,7 +100,7 @@ external_components:
- source: github://pr#9802
components: [ modem ]
- source: components
# packages:
# common: !include common/common.yaml
@@ -168,7 +168,7 @@ sensor:
name: Longitude
altitude:
name: Altitude
switch:
- platform: gpio
id: modem_powerkey
@@ -273,31 +273,31 @@ text_sensor:
# parts.push_back(data.substr(0, pos));
# data.erase(0, pos + delimiter.length());
# }
# parts.push_back(data);
# parts.push_back(data);
# if (parts.size() < 14) {
# return { "Invalid GNSS data: " + gnss_info };
# }
# std::string latitude = parts[4];
# std::string lat_direction = parts[5];
# std::string longitude = parts[6];
# std::string lon_direction = parts[7];
# if (latitude.empty() || lat_direction.empty() || longitude.empty() || lon_direction.empty()) {
# return { "Invalid GNSS data: " + gnss_info };
# }
# double lat_deg = std::stod(latitude.substr(0, 2));
# double lat_min = std::stod(latitude.substr(2));
# double lat = lat_deg + (lat_min / 60.0);
# if (lat_direction == "S") lat = -lat;
# double lon_deg = std::stod(longitude.substr(0, 3));
# double lon_min = std::stod(longitude.substr(3));
# double lon = lon_deg + (lon_min / 60.0);
# if (lon_direction == "W") lon = -lon;
# std::string google_maps_link = "https://www.google.com/maps/search/?api=1&query=" + std::to_string(lat) + "," + std::to_string(lon);
# return { google_maps_link };
@@ -317,7 +317,7 @@ text_sensor:
# url: https://github.com/ssieb/custom_components
# components: [ serial ]
# - source: components
# packages:
# common: !include common/common.yaml
@@ -475,4 +475,4 @@ text_sensor:
# name: USSD Code
# - platform: serial
# uart_id: modem_uart
# id: modem_read
# id: modem_read

View File

@@ -23,7 +23,7 @@ packages:
# B GPIO12 PWM3
# W1 GPIO14 PWM4
# W2 GPIO04 PWM5
# LED D1 R GPIO05
# LED D1 R GPIO05
# LED D2 G GPIO01
light:
@@ -42,7 +42,7 @@ light:
name: Slow Strobe
- strobe:
name: Fast Strobe
colors:
colors:
- state: true
duration: 100ms
- state: false
@@ -63,4 +63,4 @@ output:
pin: GPIO14
- platform: esp8266_pwm
id: pwm_warm_white
pin: GPIO04
pin: GPIO04

View File

@@ -50,7 +50,7 @@ external_components:
packages:
common: !include common/logger.yaml
# common: !include common/common.yaml
# debug:
# PINOUTS: M5ATOM
@@ -132,4 +132,4 @@ light:
call.set_brightness(0.01);
}
call.perform();
state = !state;
state = !state;

View File

@@ -50,7 +50,7 @@ external_components:
packages:
common: !include common/logger.yaml
# common: !include common/common.yaml
# debug:
# PINOUTS: M5ATOM
@@ -132,4 +132,4 @@ light:
call.set_brightness(0.01);
}
call.perform();
state = !state;
state = !state;

View File

@@ -151,4 +151,4 @@ light:
call.set_brightness(0.01);
}
call.perform();
state = !state;
state = !state;

View File

@@ -51,7 +51,7 @@ packages:
common: !include common/logger.yaml
# wifi: !include common/wifi.yaml
# common: !include common/common.yaml
# debug:
# PINOUTS: M5ATOM

View File

@@ -289,4 +289,4 @@ valve:
- switch.turn_off: irrigation_relay_8
time:
- !include common/time/homeassistant.yaml
- !include common/time/homeassistant.yaml