mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Add icon translations to Wiz (#112358)
This commit is contained in:
committed by
GitHub
parent
aae85edb73
commit
8aa6447a4f
12
homeassistant/components/wiz/icons.json
Normal file
12
homeassistant/components/wiz/icons.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"number": {
|
||||||
|
"effect_speed": {
|
||||||
|
"default": "mdi:speedometer"
|
||||||
|
},
|
||||||
|
"dual_head_ratio": {
|
||||||
|
"default": "mdi:floor-lamp-dual"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -47,7 +47,6 @@ NUMBERS: tuple[WizNumberEntityDescription, ...] = (
|
|||||||
native_min_value=10,
|
native_min_value=10,
|
||||||
native_max_value=200,
|
native_max_value=200,
|
||||||
native_step=1,
|
native_step=1,
|
||||||
icon="mdi:speedometer",
|
|
||||||
value_fn=lambda device: cast(int | None, device.state.get_speed()),
|
value_fn=lambda device: cast(int | None, device.state.get_speed()),
|
||||||
set_value_fn=_async_set_speed,
|
set_value_fn=_async_set_speed,
|
||||||
required_feature="effect",
|
required_feature="effect",
|
||||||
@@ -59,7 +58,6 @@ NUMBERS: tuple[WizNumberEntityDescription, ...] = (
|
|||||||
native_min_value=0,
|
native_min_value=0,
|
||||||
native_max_value=100,
|
native_max_value=100,
|
||||||
native_step=1,
|
native_step=1,
|
||||||
icon="mdi:floor-lamp-dual",
|
|
||||||
value_fn=lambda device: cast(int | None, device.state.get_ratio()),
|
value_fn=lambda device: cast(int | None, device.state.get_ratio()),
|
||||||
set_value_fn=_async_set_ratio,
|
set_value_fn=_async_set_ratio,
|
||||||
required_feature="dual_head",
|
required_feature="dual_head",
|
||||||
|
Reference in New Issue
Block a user