mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 04:54:55 +01:00
8e54a622d3
Some checks failed
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Has been cancelled
Co-authored-by: Samuel Sieb <samuel@sieb.net>
69 lines
1.2 KiB
YAML
69 lines
1.2 KiB
YAML
uart:
|
|
- id: uart_bl0906
|
|
tx_pin:
|
|
number: ${tx_pin}
|
|
rx_pin:
|
|
number: ${rx_pin}
|
|
baud_rate: 19200
|
|
|
|
sensor:
|
|
- platform: bl0906
|
|
id: bl
|
|
frequency:
|
|
name: 'Frequency'
|
|
temperature:
|
|
name: 'Temperature'
|
|
voltage:
|
|
name: 'Voltage'
|
|
channel_1:
|
|
current:
|
|
name: 'Current_1'
|
|
power:
|
|
name: 'Power_1'
|
|
energy:
|
|
name: 'Energy_1'
|
|
channel_2:
|
|
current:
|
|
name: 'Current_2'
|
|
power:
|
|
name: 'Power_2'
|
|
energy:
|
|
name: 'Energy_2'
|
|
channel_3:
|
|
current:
|
|
name: 'Current_3'
|
|
power:
|
|
name: 'Power_3'
|
|
energy:
|
|
name: 'Energy_3'
|
|
channel_4:
|
|
current:
|
|
name: 'Current_4'
|
|
power:
|
|
name: 'Power_4'
|
|
energy:
|
|
name: 'Energy_4'
|
|
channel_5:
|
|
current:
|
|
name: 'Current_5'
|
|
power:
|
|
name: 'Power_5'
|
|
energy:
|
|
name: 'Energy_5'
|
|
channel_6:
|
|
current:
|
|
name: 'Current_6'
|
|
power:
|
|
name: 'Power_6'
|
|
energy:
|
|
name: 'Energy_6'
|
|
total_energy:
|
|
name: 'Total_Energy'
|
|
total_power:
|
|
name: 'Total_Power'
|
|
|
|
button:
|
|
- platform: template
|
|
id: reset
|
|
on_press:
|
|
- bl0906.reset_energy: bl
|