Skip to content
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
13 changes: 13 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Release Notes

## Version 0.0.96 (2026-06-10)

### 🔧 Fixes

#### Service Response in Home Assistant Actions UI
- `get_smart_meter_readings` and `export_smart_meter_csv` are now registered as
response-capable services (`SupportsResponse.ONLY`).
- The returned data is visible directly in the **Actions** window in Home Assistant,
in addition to the existing fired events
(`octopus_germany_smart_meter_readings_result` and `octopus_germany_csv_export_result`).

---

## Version 0.0.95 (2026-06-08)

### 🎉 New Features
Expand Down
4 changes: 3 additions & 1 deletion custom_components/octopus_germany/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
from homeassistant.core import HomeAssistant, SupportsResponse
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
from homeassistant.util.dt import utcnow, as_utc, parse_datetime

Expand Down Expand Up @@ -1822,12 +1822,14 @@ def write_csv():
DOMAIN,
SERVICE_GET_SMART_METER_READINGS,
handle_get_smart_meter_readings,
supports_response=SupportsResponse.ONLY,
)

hass.services.async_register(
DOMAIN,
SERVICE_EXPORT_SMART_METER_CSV,
handle_export_smart_meter_csv,
supports_response=SupportsResponse.ONLY,
)

return True
Expand Down
2 changes: 1 addition & 1 deletion custom_components/octopus_germany/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"requirements": [
"python-graphql-client>=0.4.3"
],
"version": "0.0.95"
"version": "0.0.96"
}
2 changes: 1 addition & 1 deletion custom_components/octopus_germany/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ get_smart_meter_readings:

export_smart_meter_csv:
name: Export Smart Meter Data to CSV
description: Export smart meter data for a month or year to CSV file (table layout with days as columns and 15-minute rows)
description: Export smart meter data for a month or year to CSV file (table layout with days as columns and 15-minute rows). Results are returned in the service response and as event `octopus_germany_csv_export_result`.
fields:
account_number:
name: Account Number
Expand Down
Loading