fix: remove invalid state_class: none from parking_floor and parking_location

state_class: none is parsed as the string "none" by kaml/snakeyaml (not null).
ConfigValidator treated any unknown state_class as ERROR, so parking_floor was
silently excluded from entity declarations — it never reached Home Assistant.

- parking_floor: changed to state_class: measurement (correct for floor number)
- parking_location: removed state_class: none (meaningless for text_sensor)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
eiggerandClaude Sonnet 4.6 committed 2026-06-24 21:12:27 +09:00
1 parent 1cac58d9c9
commit c6b8b2a90e
1 file changed
+1 -2
+1 -2
View File
@@ -67,13 +67,12 @@ devices:
source_field: manufacturer_data source_field: manufacturer_data
min_length: 14 min_length: 14
accuracy_decimals: 0 accuracy_decimals: 0
state_class: none state_class: measurement
decode: { offset: 11, length: 1, type: uint8, scale: -1, offset_value: 256 } decode: { offset: 11, length: 1, type: uint8, scale: -1, offset_value: 256 }
- key: parking_location - key: parking_location
platform: text_sensor platform: text_sensor
source_field: manufacturer_data source_field: manufacturer_data
min_length: 14 min_length: 14
state_class: none
decode: { offset: 12, length: 2, type: string } decode: { offset: 12, length: 2, type: string }
# ────────────────────────────────────────────────────────────── # ──────────────────────────────────────────────────────────────