mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Add icon translations to TechnoVE (#112306)
* Add icon translations to TechnoVE * Add icon translations to TechnoVE
This commit is contained in:
parent
70c0f3e207
commit
fdb85f9e9e
9
homeassistant/components/technove/icons.json
Normal file
9
homeassistant/components/technove/icons.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"ssid": {
|
||||||
|
"default": "mdi:wifi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -104,7 +104,6 @@ SENSORS: tuple[TechnoVESensorEntityDescription, ...] = (
|
|||||||
TechnoVESensorEntityDescription(
|
TechnoVESensorEntityDescription(
|
||||||
key="ssid",
|
key="ssid",
|
||||||
translation_key="ssid",
|
translation_key="ssid",
|
||||||
icon="mdi:wifi",
|
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
value_fn=lambda station: station.info.network_ssid,
|
value_fn=lambda station: station.info.network_ssid,
|
||||||
|
@ -433,7 +433,7 @@
|
|||||||
'options': dict({
|
'options': dict({
|
||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': 'mdi:wifi',
|
'original_icon': None,
|
||||||
'original_name': 'Wi-Fi network name',
|
'original_name': 'Wi-Fi network name',
|
||||||
'platform': 'technove',
|
'platform': 'technove',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
@ -447,7 +447,6 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'TechnoVE Station Wi-Fi network name',
|
'friendly_name': 'TechnoVE Station Wi-Fi network name',
|
||||||
'icon': 'mdi:wifi',
|
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'sensor.technove_station_wi_fi_network_name',
|
'entity_id': 'sensor.technove_station_wi_fi_network_name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user