Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/components/sensor/ina2xx.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ sensor:
no compensation is done. Defaults to `0`.

- **update_interval** (*Optional*, [Time](#config-time)): The interval to check the sensor. Defaults to `60s`.

- **reset_on_boot** (*Optional*, boolean): Whether or not to reset the device configuration (including counters) on component initialization. Defaults to `yes`/`true`. Set `no`/`false` to preserve counters through ESPHome resets.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove yes and no, just stick to true and false. The line is also a bit long, should put a newline in there like the rest of the file.

- All other options from [Sensor](#config-sensor) and [I²C device](#i2c).

## Over SPI
Expand Down Expand Up @@ -130,6 +133,9 @@ sensor:
no compensation is done. Defaults to `0`.

- **update_interval** (*Optional*, [Time](#config-time)): The interval to check the sensor. Defaults to `60s`.

- **reset_on_boot** (*Optional*, boolean): Whether or not to reset the device configuration (including counters) on component initialization. Defaults to `yes`/`true`. Set `no`/`false` to preserve counters through ESPHome resets.

- All other options from [Sensor](#config-sensor) and [SPI device](#spi).

## Sensors
Expand Down