Add icon translations to Wiz (#112358)
This commit is contained in:
parent
aae85edb73
commit
8aa6447a4f
2 changed files with 12 additions and 2 deletions
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_max_value=200,
|
||||
native_step=1,
|
||||
icon="mdi:speedometer",
|
||||
value_fn=lambda device: cast(int | None, device.state.get_speed()),
|
||||
set_value_fn=_async_set_speed,
|
||||
required_feature="effect",
|
||||
|
@ -59,7 +58,6 @@ NUMBERS: tuple[WizNumberEntityDescription, ...] = (
|
|||
native_min_value=0,
|
||||
native_max_value=100,
|
||||
native_step=1,
|
||||
icon="mdi:floor-lamp-dual",
|
||||
value_fn=lambda device: cast(int | None, device.state.get_ratio()),
|
||||
set_value_fn=_async_set_ratio,
|
||||
required_feature="dual_head",
|
||||
|
|
Loading…
Add table
Reference in a new issue