Add icon translations to Wiz (#112358)

This commit is contained in:
Joost Lekkerkerker 2024-03-22 14:04:13 +01:00 committed by GitHub
parent aae85edb73
commit 8aa6447a4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,12 @@
{
"entity": {
"number": {
"effect_speed": {
"default": "mdi:speedometer"
},
"dual_head_ratio": {
"default": "mdi:floor-lamp-dual"
}
}
}
}

View file

@ -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",