Commit 8d81e1b
Validate entity IDs and sensor values during config flow (#32)
Add state validation for optional entity IDs in the EV charger config step:
entities that exist but report "unknown" or "unavailable" now trigger a
warning log so the user is aware of potential issues at setup time.
The config flow already validates:
- Energy Dashboard completeness (abort if missing components)
- Required EV sensors exist and are valid (via HardwareDetector)
- Optional entity IDs exist in HA (entity_not_found error)
Closes #32
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d3f7774 commit 8d81e1b
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
| |||
0 commit comments