Commit 24c3445
authored
docs(configuration): text sensors are sensor sub-keys, not a platform (#52)
The Text Sensors section showed a `text_sensor: - platform: tigo_monitor`
block, which cannot validate — there is no text_sensor.py in the component,
and ESPHome fails with "Platform not found: 'text_sensor.tigo_monitor'".
barcode/firmware_version/device_info are sub-keys of a `sensor:` entry; the
component builds the text entities itself via text_sensor.new_text_sensor.
Wrong since 2026-07-23. Verified both forms against `esphome config`: the
documented one fails, the corrected one validates and mixes with the numeric
sub-keys.1 parent 350d042 commit 24c3445
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
389 | 394 | | |
390 | | - | |
| 395 | + | |
391 | 396 | | |
392 | 397 | | |
393 | 398 | | |
| |||
397 | 402 | | |
398 | 403 | | |
399 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
400 | 418 | | |
401 | 419 | | |
402 | 420 | | |
| |||
0 commit comments