mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-13 22:54:23 -04:00
Fix wrong name for silent mode #52
This commit is contained in:
parent
0d43eeff3d
commit
4b1f500f90
22 changed files with 65 additions and 8 deletions
|
@ -5,8 +5,8 @@ from typing import Any
|
|||
|
||||
from homeassistant.components.switch import SwitchEntityDescription, SwitchEntity
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
from pyhon.parameter.base import HonParameter
|
||||
from pyhon.parameter.range import HonParameterRange
|
||||
|
||||
|
@ -262,9 +262,9 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
|
|||
),
|
||||
HonSwitchEntityDescription(
|
||||
key="muteStatus",
|
||||
name="Mute",
|
||||
name="Silent Mode",
|
||||
icon="mdi:volume-off",
|
||||
translation_key="mute_mode",
|
||||
translation_key="silent_mode",
|
||||
),
|
||||
HonSwitchEntityDescription(
|
||||
key="rapidMode",
|
||||
|
@ -291,9 +291,9 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = {
|
|||
),
|
||||
HonSwitchEntityDescription(
|
||||
key="silentSleepStatus",
|
||||
name="Silent Sleep",
|
||||
name="Night Mode",
|
||||
icon="mdi:bed",
|
||||
translation_key="silent_mode",
|
||||
translation_key="night_mode",
|
||||
),
|
||||
),
|
||||
"REF": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue