mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Raise in base implementation of FanEntity.oscillate (#43354)
This commit is contained in:
@@ -20,7 +20,8 @@ def test_fanentity():
|
||||
assert fan.supported_features == 0
|
||||
assert fan.capability_attributes == {}
|
||||
# Test set_speed not required
|
||||
fan.oscillate(True)
|
||||
with pytest.raises(NotImplementedError):
|
||||
fan.oscillate(True)
|
||||
with pytest.raises(NotImplementedError):
|
||||
fan.set_speed("slow")
|
||||
with pytest.raises(NotImplementedError):
|
||||
|
||||
Reference in New Issue
Block a user