mirror of
https://github.com/esphome/esphome.git
synced 2026-05-12 10:08:47 +08:00
14d76e9e4e
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
CI for docker images / Build docker containers (docker, ubuntu-24.04) (push) Has been cancelled
CI for docker images / Build docker containers (docker, ubuntu-24.04-arm) (push) Has been cancelled
CI for docker images / Build docker containers (ha-addon, ubuntu-24.04) (push) Has been cancelled
CI for docker images / Build docker containers (ha-addon, ubuntu-24.04-arm) (push) Has been cancelled
Synchronise Device Classes from Home Assistant / Sync Device Classes (push) Has been cancelled
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
27 lines
623 B
YAML
27 lines
623 B
YAML
sensor:
|
|
- platform: ina2xx_spi
|
|
cs_pin: ${cs_pin}
|
|
model: INA229
|
|
shunt_resistance: 0.001130 ohm
|
|
max_current: 40 A
|
|
adc_range: 1
|
|
temperature_coefficient: 50
|
|
shunt_voltage:
|
|
id: ina2xx_spi_shunt_voltage
|
|
name: "INA2xx Shunt Voltage"
|
|
bus_voltage:
|
|
id: ina2xx_spi_bus_voltage
|
|
name: "INA2xx Bus Voltage"
|
|
current:
|
|
id: ina2xx_spi_current
|
|
name: "INA2xx Current"
|
|
power:
|
|
id: ina2xx_spi_power
|
|
name: "INA2xx Power"
|
|
energy:
|
|
id: ina2xx_spi_energy
|
|
name: "INA2xx Energy"
|
|
charge:
|
|
id: ina2xx_spi_charge
|
|
name: "INA2xx Charge"
|