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