Remove Rituals DiffuserSwitch extra_state_attributes (#53611)
This commit is contained in:
parent
553521a76b
commit
6299f58bd7
1 changed files with 0 additions and 8 deletions
|
@ -43,14 +43,6 @@ class DiffuserSwitch(SwitchEntity, DiffuserEntity):
|
|||
super().__init__(diffuser, coordinator, "")
|
||||
self._attr_is_on = self._diffuser.is_on
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self) -> dict[str, Any]:
|
||||
"""Return the device state attributes."""
|
||||
return {
|
||||
"fan_speed": self._diffuser.perfume_amount,
|
||||
"room_size": self._diffuser.room_size,
|
||||
}
|
||||
|
||||
async def async_turn_on(self, **kwargs: Any) -> None:
|
||||
"""Turn the device on."""
|
||||
await self._diffuser.turn_on()
|
||||
|
|
Loading…
Add table
Reference in a new issue