Implement @plugwise_command for Plugwise Number platform (#120503)

This commit is contained in:
Bouwe Westerdijk 2024-06-26 10:24:29 +02:00 committed by GitHub
parent 7b298f177c
commit 0a48cc29b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 19 deletions

View file

@ -97,7 +97,7 @@ async def test_adam_temperature_offset_change(
blocking=True,
)
assert mock_smile_adam.set_temperature_offset.call_count == 1
mock_smile_adam.set_temperature_offset.assert_called_with(
"6a3bf693d05e48e0b460c815a4fdd09d", 1.0
assert mock_smile_adam.set_number.call_count == 1
mock_smile_adam.set_number.assert_called_with(
"6a3bf693d05e48e0b460c815a4fdd09d", "temperature_offset", 1.0
)