Implement remaining select-adaptions for Plugwise (#120544)

pull/116285/head
Bouwe Westerdijk 2024-06-26 13:37:08 +02:00 committed by GitHub
parent 972b85a75b
commit b07453dca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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
)

View File

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