From c6b8b2a90ea4a980598d363be680664e7cb3263a Mon Sep 17 00:00:00 2001 From: eigger Date: Wed, 24 Jun 2026 21:12:27 +0900 Subject: [PATCH] fix: remove invalid state_class: none from parking_floor and parking_location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index b3f0065..f270c2e 100644 --- a/config.yaml +++ b/config.yaml @@ -67,13 +67,12 @@ devices: source_field: manufacturer_data min_length: 14 accuracy_decimals: 0 - state_class: none + state_class: measurement decode: { offset: 11, length: 1, type: uint8, scale: -1, offset_value: 256 } - key: parking_location platform: text_sensor source_field: manufacturer_data min_length: 14 - state_class: none decode: { offset: 12, length: 2, type: string } # ──────────────────────────────────────────────────────────────