mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
fa01149771
Some checks are pending
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 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 2/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) Waiting to run
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
19 lines
318 B
YAML
19 lines
318 B
YAML
esphome:
|
|
on_boot:
|
|
then:
|
|
- max17043.sleep_mode: max17043_id
|
|
|
|
i2c:
|
|
- id: i2c_id
|
|
scl: ${scl_pin}
|
|
sda: ${sda_pin}
|
|
|
|
sensor:
|
|
- platform: max17043
|
|
id: max17043_id
|
|
i2c_id: i2c_id
|
|
battery_voltage:
|
|
name: "Battery Voltage"
|
|
battery_level:
|
|
name: Battery
|
|
update_interval: 10s
|