Skip to content

Commit

Permalink
Update documentation to refresh discharging binary sensor renamed to …
Browse files Browse the repository at this point in the history
…exporting
  • Loading branch information
Rob Aldred committed Dec 19, 2024
1 parent 1ae9b28 commit 3fb5f1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit 3fb5f1f

Please sign in to comment.