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-21 21:20:28 +02:00
2026-06-21 22:27:07 +02:00
2026-06-23 20:43:46 +02:00
2026-06-13 15:20:50 +02:00
2026-06-23 21:19:25 +02:00
2026-06-22 20:11:54 +02:00
2026-06-22 14:17:59 +02:00
2026-06-12 23:33:08 +02:00
2026-06-21 22:08:55 +02:00
2026-06-21 22:08:55 +02:00
2026-06-13 15:20:50 +02:00
2026-06-21 21:38:22 +02:00
2026-06-12 16:57:54 +02:00
2026-06-13 15:20:50 +02:00
2026-06-23 21:52:57 +02:00
2026-06-23 22:26:56 +02:00
2026-06-23 22:44:41 +02:00
2026-06-23 20:33:35 +02:00
2026-06-23 22:44:41 +02:00
2026-06-22 20:11:54 +02:00
2026-06-12 16:50:05 +02:00
2026-04-20 11:48:48 +02:00
2026-06-12 16:50:05 +02:00
2026-06-21 21:20:28 +02:00
2026-06-12 19:11:13 +02:00
2026-06-22 13:03:50 +02:00
2026-06-22 13:03:50 +02:00
2026-06-22 20:45:47 +02:00
2026-06-22 13:24:11 +02:00
2026-06-22 13:03:50 +02:00
2026-06-22 15:06:30 +02:00
2026-06-23 21:52:57 +02:00
2026-06-12 16:50:05 +02:00
2026-06-23 20:58:34 +02:00
2026-06-23 20:58:34 +02:00
2026-06-13 15:20:50 +02:00
2026-06-13 15:20:50 +02:00
2026-06-13 15:20:50 +02:00
2026-06-23 21:35:29 +02:00
2026-06-23 21:35:29 +02:00
2026-06-13 15:20:50 +02:00
2026-06-22 12:45:50 +02:00