Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to reflect binary_sensor batpred_discharging renamed to batpred_exporting #1756

Merged
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/apps-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ If you wish to trigger activities based on Predbat charging or discharging the b
- **binary_sensor.predbat_charging** - Will be True when the home battery is inside a charge slot (either being charged or being held at a level).
Note that this does include charge freeze slots where the discharge rate is set to zero without charging the battery.

- **binary_sensor.predbat_discharging** - Will be True when the home battery is inside a force discharge slot. This does not include
- **binary_sensor.predbat_exporting** - Will be True when the home battery is inside a force discharge slot. This does not include
discharge freeze slots where the charge rate is set to zero to export excess solar only.

## Understanding how days_previous works
Expand Down
4 changes: 2 additions & 2 deletions docs/inverter-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,12 @@ trigger:
id: predbat_charge_off
- platform: state
entity_id:
- binary_sensor.predbat_discharging
- binary_sensor.predbat_exporting
to: "on"
id: predbat_discharge_on
- platform: state
entity_id:
- binary_sensor.predbat_discharging
- binary_sensor.predbat_exporting
to: "off"
id: predbat_discharge_off
condition: []
Expand Down
2 changes: 1 addition & 1 deletion docs/output-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ Note that if you have configured [battery scaling](apps-yaml.md#battery-size-sca
The following sensors are set based upon what Predbat is currently controlling the battery to do:

- binary_sensor.predbat_charging - Set to 'on' when Predbat is force charging the battery (from solar, or if that is insufficient, from grid import), or 'off' otherwise
- binary_sensor.predbat_discharging - Set to 'on' when Predbat is force discharging the battery for export income, 'off' otherwise.
- binary_sensor.predbat_exporting - Set to 'on' when Predbat is force discharging the battery for export income, 'off' otherwise.

These are useful for automations if for example you want to turn off car charging when the battery is being exported.

Expand Down
Loading