Archived
feat: add icons to parking beacon sensors
- parking_time: mdi:clock-time-four-outline - parking_floor: mdi:layers-outline - parking_location: mdi:map-marker-outline Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
dc7893d4f9
commit
b71ad124e9
1 file changed
+3
@@ -60,16 +60,19 @@ devices:
|
|||||||
sensors:
|
sensors:
|
||||||
- key: parking_time
|
- key: parking_time
|
||||||
device_class: timestamp
|
device_class: timestamp
|
||||||
|
icon: mdi:clock-time-four-outline
|
||||||
source_field: manufacturer_data
|
source_field: manufacturer_data
|
||||||
min_length: 14
|
min_length: 14
|
||||||
decode: { offset: 7, length: 4, type: timestamp }
|
decode: { offset: 7, length: 4, type: timestamp }
|
||||||
- key: parking_floor
|
- key: parking_floor
|
||||||
|
icon: mdi:layers-outline
|
||||||
source_field: manufacturer_data
|
source_field: manufacturer_data
|
||||||
min_length: 14
|
min_length: 14
|
||||||
accuracy_decimals: 0
|
accuracy_decimals: 0
|
||||||
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
|
||||||
|
icon: mdi:map-marker-outline
|
||||||
source_field: manufacturer_data
|
source_field: manufacturer_data
|
||||||
min_length: 14
|
min_length: 14
|
||||||
decode: { offset: 12, length: 2, type: string }
|
decode: { offset: 12, length: 2, type: string }
|
||||||
|
|||||||
Reference in new issue
Block a user