Skip to content

feat(iobroker): surface energy tariff (TOU) read in state tree - #68

Merged
Bre77 merged 1 commit into
mainfrom
fm/tariff-surface-iobroker
Jul 28, 2026
Merged

feat(iobroker): surface energy tariff (TOU) read in state tree#68
Bre77 merged 1 commit into
mainfrom
fm/tariff-surface-iobroker

Conversation

@Bre77

@Bre77 Bre77 commented Jul 28, 2026

Copy link
Copy Markdown
Member

Intent

  • iobroker.teslemetry had no way to read a site's time-of-use tariff through the adapter's state tree, even though TeslemetryEnergyApi.getTariff() now exists in the SDK.
    • Added a read-only energy.{SITE_ID}.tariff channel (tariff_id, tariff_content, tariff_content_v2), populated from the getSiteInfo() fields fetchSiteData() already fetches for the operation states - no extra API call.
    • Read-only - no tariff write / VPP / grid-services controls are wired, matching the node-red (feat(node-red): surface energy tariff (TOU) read in Energy Command node #58) and Homey tariff-read precedent.

Add a read-only energy.{SITE_ID}.tariff channel (tariff_id,
tariff_content, tariff_content_v2), populated from the getSiteInfo()
fields already fetched by fetchSiteData() - the same fields
TeslemetryEnergyApi.getTariff() exposes. Mirrors the node-red/API
tariff-read scope: read only, no write, no VPP surfaces.
@Bre77
Bre77 merged commit 7dc9304 into main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant