Archived
Add accuracy and unit fields to config.yaml
Added accuracy_decimals and unit fields for parking_floor and parking_location.
This commit is contained in:
1 parent
20d2a273a4
commit
429fce43d0
1 file changed
+3
@@ -66,11 +66,14 @@ devices:
|
|||||||
- key: parking_floor
|
- key: parking_floor
|
||||||
source_field: manufacturer_data
|
source_field: manufacturer_data
|
||||||
min_length: 14
|
min_length: 14
|
||||||
|
accuracy_decimals: 0
|
||||||
|
unit: "층"
|
||||||
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
|
||||||
|
unit: "구역"
|
||||||
decode: { offset: 12, length: 2, type: string }
|
decode: { offset: 12, length: 2, type: string }
|
||||||
|
|
||||||
# ──────────────────────────────────────────────────────────────
|
# ──────────────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in new issue
Block a user