Rename confusing device info in Roborock (#93843)
rename confusing device info
This commit is contained in:
parent
23c5e60be0
commit
8244887bb3
5 changed files with 19 additions and 16 deletions
|
@ -91,7 +91,7 @@ class RoborockSwitchEntity(RoborockEntity, SwitchEntity):
|
|||
) -> None:
|
||||
"""Create a switch entity."""
|
||||
self.entity_description = entity_description
|
||||
super().__init__(unique_id, coordinator.device_specification, coordinator.api)
|
||||
super().__init__(unique_id, coordinator.device_info, coordinator.api)
|
||||
|
||||
async def async_turn_off(self, **kwargs: Any) -> None:
|
||||
"""Turn off the switch."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue