Archived
fix: align parking_beacon template with config.yaml (parking_floor)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b9f8396347
commit
0fe6f00782
1 file changed
+8
-7
+8
-7
@@ -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
|
||||
|
||||
Reference in new issue
Block a user