tliu93
c61fc2d4ba
M6-T08: add energy_cost expose provider + post-billing state publish
- expose.py: _energy_cost_provider yields buy/sell_price_now + import_cost_total
/export_revenue_total (total_increasing, monetary), value_getters read from
energy_cost_period; 2-element identifiers so the existing HA Discovery builder
(which indexes identifiers[1]) works. Other providers/mechanism untouched.
- main.py: energy-cost job calls publish_states after computing periods (no-op
when MQTT/Discovery off). Tests added.
Note: energy-cost sensors lack an availability heartbeat (ha_discovery mechanism
limitation, out of scope here).
2026-06-23 22:44:41 +02:00
..
2026-06-23 22:44:41 +02:00
2026-06-23 19:56:02 +02:00
2026-06-22 16:10:11 +02:00
2026-06-21 23:01:50 +02:00
2026-06-12 22:50:47 +02:00
2026-04-20 17:06:03 +02:00
2026-04-20 10:11:02 +02:00
2026-04-19 23:18:20 +02:00
2026-04-20 11:48:48 +02:00
2026-04-29 13:07:59 +02:00
2026-06-22 16:10:11 +02:00
2026-04-20 17:36:05 +02:00