Implement remaining select-adaptions for Plugwise (#120544)
parent
972b85a75b
commit
b07453dca4
|
@ -109,5 +109,5 @@ class PlugwiseSelectEntity(PlugwiseEntity, SelectEntity):
|
|||
self.device[LOCATION] and STATE_ON are required for the thermostat-schedule select.
|
||||
"""
|
||||
await self.coordinator.api.set_select(
|
||||
self.entity_description.key, self.device[LOCATION], STATE_ON, option
|
||||
self.entity_description.key, self.device[LOCATION], option, STATE_ON
|
||||
)
|
||||
|
|
|
@ -42,8 +42,8 @@ async def test_adam_change_select_entity(
|
|||
mock_smile_adam.set_select.assert_called_with(
|
||||
"select_schedule",
|
||||
"c50f167537524366a5af7aa3942feb1e",
|
||||
"on",
|
||||
"Badkamer Schema",
|
||||
"on",
|
||||
)
|
||||
|
||||
|
||||
|
@ -74,6 +74,6 @@ async def test_adam_select_regulation_mode(
|
|||
mock_smile_adam_3.set_select.assert_called_with(
|
||||
"select_regulation_mode",
|
||||
"bc93488efab249e5bc54fd7e175a6f91",
|
||||
"on",
|
||||
"heating",
|
||||
"on",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue