mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
parent
31ad48b2b7
commit
c34f5dd0b9
27
homeassistant/components/proximity/icons.json
Normal file
27
homeassistant/components/proximity/icons.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"dir_of_travel": {
|
||||||
|
"default": "mdi:crosshairs-question",
|
||||||
|
"state": {
|
||||||
|
"arrived": "mdi:map-marker-radius-outline",
|
||||||
|
"away_from": "mdi:sign-direction-minus",
|
||||||
|
"stationary": "mdi:map-marker-outline",
|
||||||
|
"towards": "mdi:sign-direction-plus"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nearest": {
|
||||||
|
"default": "mdi:near-me"
|
||||||
|
},
|
||||||
|
"nearest_dir_of_travel": {
|
||||||
|
"default": "mdi:crosshairs-question",
|
||||||
|
"state": {
|
||||||
|
"arrived": "mdi:map-marker-radius-outline",
|
||||||
|
"away_from": "mdi:sign-direction-minus",
|
||||||
|
"stationary": "mdi:map-marker-outline",
|
||||||
|
"towards": "mdi:sign-direction-plus"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -39,7 +39,6 @@ SENSORS_PER_ENTITY: list[SensorEntityDescription] = [
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=ATTR_DIR_OF_TRAVEL,
|
key=ATTR_DIR_OF_TRAVEL,
|
||||||
translation_key=ATTR_DIR_OF_TRAVEL,
|
translation_key=ATTR_DIR_OF_TRAVEL,
|
||||||
icon="mdi:compass-outline",
|
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=DIRECTIONS,
|
options=DIRECTIONS,
|
||||||
),
|
),
|
||||||
@ -49,7 +48,6 @@ SENSORS_PER_PROXIMITY: list[SensorEntityDescription] = [
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=ATTR_NEAREST,
|
key=ATTR_NEAREST,
|
||||||
translation_key=ATTR_NEAREST,
|
translation_key=ATTR_NEAREST,
|
||||||
icon="mdi:near-me",
|
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=ATTR_DIST_TO,
|
key=ATTR_DIST_TO,
|
||||||
@ -60,7 +58,6 @@ SENSORS_PER_PROXIMITY: list[SensorEntityDescription] = [
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=ATTR_DIR_OF_TRAVEL,
|
key=ATTR_DIR_OF_TRAVEL,
|
||||||
translation_key=ATTR_NEAREST_DIR_OF_TRAVEL,
|
translation_key=ATTR_NEAREST_DIR_OF_TRAVEL,
|
||||||
icon="mdi:compass-outline",
|
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=DIRECTIONS,
|
options=DIRECTIONS,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user