mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Add icon translations to Blue current (#111347)
This commit is contained in:
parent
70af28cc26
commit
496339773b
24
homeassistant/components/blue_current/icons.json
Normal file
24
homeassistant/components/blue_current/icons.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"vehicle_status": {
|
||||
"default": "mdi:car"
|
||||
},
|
||||
"activity": {
|
||||
"default": "mdi:ev-station"
|
||||
},
|
||||
"max_usage": {
|
||||
"default": "mdi:gauge-full"
|
||||
},
|
||||
"smartcharging_max_usage": {
|
||||
"default": "mdi:gauge-full"
|
||||
},
|
||||
"max_offline": {
|
||||
"default": "mdi:gauge-full"
|
||||
},
|
||||
"current_left": {
|
||||
"default": "mdi:gauge"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -124,14 +124,12 @@ SENSORS = (
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="vehicle_status",
|
||||
icon="mdi:car",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
options=["standby", "vehicle_detected", "ready", "no_power", "vehicle_error"],
|
||||
translation_key="vehicle_status",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="activity",
|
||||
icon="mdi:ev-station",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
options=["available", "charging", "unavailable", "error", "offline"],
|
||||
translation_key="activity",
|
||||
@ -139,7 +137,6 @@ SENSORS = (
|
||||
SensorEntityDescription(
|
||||
key="max_usage",
|
||||
translation_key="max_usage",
|
||||
icon="mdi:gauge-full",
|
||||
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
@ -147,7 +144,6 @@ SENSORS = (
|
||||
SensorEntityDescription(
|
||||
key="smartcharging_max_usage",
|
||||
translation_key="smartcharging_max_usage",
|
||||
icon="mdi:gauge-full",
|
||||
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
|
||||
entity_registry_enabled_default=False,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
@ -156,7 +152,6 @@ SENSORS = (
|
||||
SensorEntityDescription(
|
||||
key="max_offline",
|
||||
translation_key="max_offline",
|
||||
icon="mdi:gauge-full",
|
||||
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
|
||||
entity_registry_enabled_default=False,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
@ -165,7 +160,6 @@ SENSORS = (
|
||||
SensorEntityDescription(
|
||||
key="current_left",
|
||||
translation_key="current_left",
|
||||
icon="mdi:gauge",
|
||||
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
|
||||
entity_registry_enabled_default=False,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user