mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
fix yaml's
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
substitutions:
|
||||
name: boneio-input24-gen2-01
|
||||
friendly_name: 'boneIO ESP Input24 Gen2'
|
||||
serial_prefix: 'esp24' #Don't change it.
|
||||
firmware_manifest: 'https://boneio.eu/fwesp/boneio-input24-gen2-01.json'
|
||||
friendly_name: "boneIO ESP Input24 Gen2"
|
||||
serial_prefix: "esp24" #Don't change it.
|
||||
firmware_manifest: "https://boneio.eu/fwesp/boneio-input24-gen2-01.json"
|
||||
esphome:
|
||||
name: '${name}'
|
||||
friendly_name: '${friendly_name}'
|
||||
name: "${name}"
|
||||
friendly_name: "${friendly_name}"
|
||||
name_add_mac_suffix: true
|
||||
project:
|
||||
name: boneio.input24-gen2
|
||||
version: '0.1'
|
||||
version: "0.1"
|
||||
on_boot:
|
||||
priority: -100
|
||||
then:
|
||||
- delay: 5s
|
||||
- if:
|
||||
condition:
|
||||
lambda: 'return id(serial_no) != nullptr;'
|
||||
lambda: "return id(serial_no) != nullptr;"
|
||||
then:
|
||||
- component.update: serial_no
|
||||
- logger.log: "Serial No updated on boot"
|
||||
@@ -25,7 +25,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
board: esp32-s3-devkitc-1
|
||||
framework:
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
ethernet:
|
||||
@@ -45,7 +45,6 @@ i2c:
|
||||
scan: True
|
||||
frequency: 400kHz
|
||||
|
||||
|
||||
# CAN gpio48 - tx, gpio47 rx, gpio35 stb
|
||||
# uart:
|
||||
# id: boneio_uart
|
||||
@@ -61,10 +60,8 @@ i2c:
|
||||
packages:
|
||||
internals_packages:
|
||||
url: https://github.com/boneIO-eu/esphome
|
||||
ref: packages-v1.7.2
|
||||
files: [
|
||||
'devices/serial_no.yaml',
|
||||
]
|
||||
ref: packages-v2.0.0
|
||||
files: ["packages/devices/serial_no.yaml"]
|
||||
# boneiopackages:
|
||||
# url: https://github.com/boneIO-eu/esphome_packages
|
||||
# ref: main
|
||||
@@ -73,7 +70,7 @@ packages:
|
||||
# - path: sdm630.yaml
|
||||
|
||||
dashboard_import:
|
||||
package_import_url: github://boneIO-eu/esphome/boneio-input24_gen2-v0_1.yaml.yaml@latest
|
||||
package_import_url: github://boneIO-eu/esphome/boneio-input24_gen2-v0_1.yaml@latest
|
||||
import_full_config: true
|
||||
|
||||
pcf8574:
|
||||
@@ -99,7 +96,7 @@ web_server:
|
||||
sensor:
|
||||
- platform: lm75b
|
||||
id: boneIO_temp
|
||||
name: 'Temperature'
|
||||
name: "Temperature"
|
||||
update_interval: 30s
|
||||
entity_category: diagnostic
|
||||
on_value_range:
|
||||
@@ -113,7 +110,7 @@ sensor:
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: buzzer
|
||||
name: 'Buzzer'
|
||||
name: "Buzzer"
|
||||
pin:
|
||||
number: GPIO9
|
||||
mode:
|
||||
@@ -121,7 +118,7 @@ switch:
|
||||
inverted: false
|
||||
- platform: gpio
|
||||
id: can_bus_switch
|
||||
name: 'CAN Bus Switch'
|
||||
name: "CAN Bus Switch"
|
||||
pin:
|
||||
number: GPIO35
|
||||
mode:
|
||||
@@ -130,7 +127,7 @@ switch:
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: 'IN_01'
|
||||
name: "IN_01"
|
||||
id: in_01
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -140,7 +137,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_02'
|
||||
name: "IN_02"
|
||||
id: in_02
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -150,7 +147,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_03'
|
||||
name: "IN_03"
|
||||
id: in_03
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -160,7 +157,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_04'
|
||||
name: "IN_04"
|
||||
id: in_04
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -170,7 +167,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_05'
|
||||
name: "IN_05"
|
||||
id: in_05
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -180,7 +177,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_06'
|
||||
name: "IN_06"
|
||||
id: in_06
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -190,7 +187,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_07'
|
||||
name: "IN_07"
|
||||
id: in_07
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -200,7 +197,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_08'
|
||||
name: "IN_08"
|
||||
id: in_08
|
||||
pin:
|
||||
pcf8574: pcf_inputs_1_to_8
|
||||
@@ -210,7 +207,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_09'
|
||||
name: "IN_09"
|
||||
id: in_09
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -220,7 +217,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_10'
|
||||
name: "IN_10"
|
||||
id: in_10
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -230,7 +227,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_11'
|
||||
name: "IN_11"
|
||||
id: in_11
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -240,7 +237,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_12'
|
||||
name: "IN_12"
|
||||
id: in_12
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -250,7 +247,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_13'
|
||||
name: "IN_13"
|
||||
id: in_13
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -260,7 +257,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_14'
|
||||
name: "IN_14"
|
||||
id: in_14
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -270,7 +267,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_15'
|
||||
name: "IN_15"
|
||||
id: in_15
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -280,7 +277,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_16'
|
||||
name: "IN_16"
|
||||
id: in_16
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -290,7 +287,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_17'
|
||||
name: "IN_17"
|
||||
id: in_17
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -300,7 +297,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_18'
|
||||
name: "IN_18"
|
||||
id: in_18
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -310,7 +307,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_19'
|
||||
name: "IN_19"
|
||||
id: in_19
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -320,7 +317,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_20'
|
||||
name: "IN_20"
|
||||
id: in_20
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -330,7 +327,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_21'
|
||||
name: "IN_21"
|
||||
id: in_21
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -340,7 +337,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_22'
|
||||
name: "IN_22"
|
||||
id: in_22
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -350,7 +347,7 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_23'
|
||||
name: "IN_23"
|
||||
id: in_23
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
@@ -360,11 +357,11 @@ binary_sensor:
|
||||
inverted: true
|
||||
|
||||
- platform: gpio
|
||||
name: 'IN_24'
|
||||
name: "IN_24"
|
||||
id: in_24
|
||||
pin:
|
||||
pcf8574: pcf_inputs_9_to_24
|
||||
number: 8
|
||||
mode:
|
||||
input: true
|
||||
inverted: true
|
||||
inverted: true
|
||||
|
||||
Reference in New Issue
Block a user