You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ If installed via HACS, you can also uninstall the integration from HACS after re
55
55
|**Email**| Yes | The email address used to log in to the SEDIF customer portal at [connexion.leaudiledefrance.fr](https://connexion.leaudiledefrance.fr). |
56
56
|**Password**| Yes | The password for your SEDIF portal account. Stored locally in Home Assistant and only sent to the SEDIF portal for authentication. |
57
57
58
-
Each contract appears as a separate device named **SEDIF Contract {number}** (e.g. "SEDIF Contract 9235380"), where the number matches your SEDIF contract reference.
58
+
Each contract appears as a separate device named **SEDIF Contract {number}** (e.g. "SEDIF Contract XXXXXXX"), where the number matches your SEDIF contract reference.
59
59
60
60
## Entities
61
61
@@ -111,14 +111,23 @@ The meter reading and daily consumption sensors expose the following additional
111
111
112
112
The integration imports historical water consumption data as **external statistics** with correct timestamps, so the Energy dashboard attributes usage to the right day (not when the integration polled).
113
113
114
-
On first setup, up to **90 days** of history are imported. After that, only the last 7 days are fetched on each update cycle, keeping the statistics up to date without redundant API calls.
114
+
On first setup, up to **90 days** of history are imported. After that, only the last 7 days are fetched on each update cycle, keeping the statistics up to date without redundant API calls. Estimated readings are excluded from statistics to avoid double-counting when the actual value is published later.
115
+
116
+
Two external statistics are created per contract:
117
+
118
+
| Statistic | Unit | Description |
119
+
|---|---|---|
120
+
|**SEDIF {contract_number} water consumption**| m³ | Cumulative water consumption (for Energy Dashboard water tracking) |
121
+
|**SEDIF {contract_number} water cost**| EUR | Cumulative water cost based on the average price per m³ reported by the SEDIF portal |
115
122
116
123
To add water tracking:
117
124
118
125
1. Go to **Settings > Dashboards > Energy**
119
126
2. In the **Water consumption** section, click **Add water source**
120
127
3. Search for **SEDIF {contract_number} water consumption** — this is the external statistic created by the integration
121
128
129
+
The water cost statistic can be used in custom cards or automations. It uses the average price per cubic meter provided by the SEDIF portal to compute daily costs.
130
+
122
131
> **Important:** Use the external statistic, not the sensor entities. The **Meter Reading** sensor updates every 6 hours and timestamps data at poll time, which causes consumption to appear on the wrong day. The external statistic uses the actual date reported by SEDIF, so the Energy dashboard shows accurate daily breakdowns.
0 commit comments