Add note about forecast service to amberelectric (#39072)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Myles Eftos 2025-08-27 18:21:30 +10:00 committed by GitHub
parent 71bfcadd42
commit 8e99bc87b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,3 +51,13 @@ There are two additional sensors:
- **Price Spike** - A binary sensor that indicates when the current price is over $3/kWh.
- **Renewables** - The percentage of renewable energy currently in the grid.
## Actions
### `get_forecasts`
The `get_forecasts` action returns an array of forecasts for the requested channel type.
| Data attribute | Optional | Description |
| ----------------- | -------- | --------------------------------------------------------------------- |
| `config_entry_id` | Yes | The config entry of the site to get forecasts for. |
| `channel_type` | Yes | The channel type to fetch. Options: general, controller_load, feed_in |