mirror of
https://github.com/esphome/esphome.git
synced 2026-05-26 19:26:25 +08:00
c6c202e4f7
CI / Create common environment (push) Has been cancelled
CI / Check pylint (push) Has been cancelled
CI / Run script/ci-custom (push) Has been cancelled
CI / Run pytest (macOS-latest, 3.11) (push) Has been cancelled
CI / Run pytest (ubuntu-latest, 3.11) (push) Has been cancelled
CI / Run pytest (ubuntu-latest, 3.14) (push) Has been cancelled
CI / Run pytest (windows-latest, 3.11) (push) Has been cancelled
CI / Determine which jobs to run (push) Has been cancelled
CI / Run integration tests (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 IDF (push) Has been cancelled
CI / Run script/clang-tidy for ESP8266 (push) Has been cancelled
CI / Run script/clang-tidy for ZEPHYR (push) Has been cancelled
CI / Split components for intelligent grouping (40 weighted per batch) (push) Has been cancelled
CI / Test components batch (${{ matrix.components }}) (push) Has been cancelled
CI / pre-commit.ci lite (push) Has been cancelled
CI / CI Status (push) Has been cancelled
Synchronise Device Classes from Home Assistant / Sync Device Classes (push) Has been cancelled
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
29 lines
663 B
YAML
29 lines
663 B
YAML
sensor:
|
|
- platform: ina2xx_i2c
|
|
i2c_id: i2c_bus
|
|
address: 0x40
|
|
model: INA228
|
|
shunt_resistance: 0.001130 ohm
|
|
max_current: 40 A
|
|
adc_range: 1
|
|
temperature_coefficient: 50
|
|
reset_on_boot: true
|
|
shunt_voltage:
|
|
id: ina2xx_i2c_shunt_voltage
|
|
name: "INA2xx Shunt Voltage"
|
|
bus_voltage:
|
|
id: ina2xx_i2c_bus_voltage
|
|
name: "INA2xx Bus Voltage"
|
|
current:
|
|
id: ina2xx_i2c_current
|
|
name: "INA2xx Current"
|
|
power:
|
|
id: ina2xx_i2c_power
|
|
name: "INA2xx Power"
|
|
energy:
|
|
id: ina2xx_i2c_energy
|
|
name: "INA2xx Energy"
|
|
charge:
|
|
id: ina2xx_i2c_charge
|
|
name: "INA2xx Charge"
|