From 0fe6f0078294eee58eb1bf8f3352963a247d9973 Mon Sep 17 00:00:00 2001 From: eigger Date: Thu, 25 Jun 2026 12:22:19 +0900 Subject: [PATCH] fix: align parking_beacon template with config.yaml (parking_floor) Co-authored-by: Cursor --- templates.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/templates.yaml b/templates.yaml index 7342a05..de8383d 100644 --- a/templates.yaml +++ b/templates.yaml @@ -49,20 +49,21 @@ templates: sensors: - key: parking_time device_class: timestamp + icon: mdi:clock-time-four-outline source_field: manufacturer_data - min_length: 14 + length: 14 decode: { offset: 7, length: 4, type: timestamp } - - key: parking_battery - device_class: battery - unit: "%" - state_class: measurement + - key: parking_floor + icon: mdi:layers-outline source_field: manufacturer_data - min_length: 14 + length: 14 + accuracy_decimals: 0 decode: { offset: 11, length: 1, type: uint8, scale: -1, offset_value: 256 } - key: parking_location platform: text_sensor + icon: mdi:map-marker-outline source_field: manufacturer_data - min_length: 14 + length: 14 decode: { offset: 12, length: 2, type: string } - id: obd_standard