Compare commits

...

1 Commits

Author SHA1 Message Date
Petar Petrov
03b58a4c21 Support for hierarchy of water meters 2025-10-07 14:09:45 +03:00

View File

@@ -116,6 +116,10 @@ class WaterSourceType(TypedDict):
# an EnergyCostSensor will be automatically created
stat_cost: str | None
# An optional statistic_id identifying a device
# that includes this device's consumption in its total
included_in_stat: str | None
# Used to generate costs if stat_cost is set to None
entity_energy_price: str | None # entity_id of an entity providing price ($/m³)
number_energy_price: float | None # Price for energy ($/m³)