Commit 3134d1f
feat: expose hcsr04.enabled + last reading in /discovery
Adds an hcsr04 block to /discovery so the HA integration can decide
whether to create the distance sensor entity without probing.
Companion change: shailensobhee/ESPSomfy-RTS-ha PR #1.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 305a4b2 commit 3134d1f
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
459 | 463 | | |
460 | 464 | | |
461 | 465 | | |
| |||
0 commit comments