mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Add icon translations to Tedee (#112307)
* Add icon translations to Tedee * Add icon translations to Tedee
This commit is contained in:
parent
446314bb27
commit
d3f28718ec
9
homeassistant/components/tedee/icons.json
Normal file
9
homeassistant/components/tedee/icons.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"pullspring_duration": {
|
||||
"default": "mdi:timer-lock-open"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -42,7 +42,6 @@ ENTITIES: tuple[TedeeSensorEntityDescription, ...] = (
|
||||
device_class=SensorDeviceClass.DURATION,
|
||||
native_unit_of_measurement=UnitOfTime.SECONDS,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
icon="mdi:timer-lock-open",
|
||||
value_fn=lambda lock: lock.duration_pullspring,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
|
@ -59,7 +59,7 @@
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': <SensorDeviceClass.DURATION: 'duration'>,
|
||||
'original_icon': 'mdi:timer-lock-open',
|
||||
'original_icon': None,
|
||||
'original_name': 'Pullspring duration',
|
||||
'platform': 'tedee',
|
||||
'previous_unique_id': None,
|
||||
@ -89,7 +89,6 @@
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'duration',
|
||||
'friendly_name': 'Lock-1A2B Pullspring duration',
|
||||
'icon': 'mdi:timer-lock-open',
|
||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user