Add cooktop and range hood support
This commit is contained in:
1 parent
bedc662b47
commit
c64f58aaa5
25 files changed
+1399
-14
No files matched your search
@@ -1,6 +1,6 @@
|
||||
from custom_components.localthings.registry.entities import (
|
||||
SensorDesc, BinarySensorDesc, SelectDesc, SwitchDesc, ButtonDesc,
|
||||
NumberDesc, TimeDesc, ClimateDesc, PLATFORM_OF,
|
||||
NumberDesc, TimeDesc, ClimateDesc, FanDesc, PLATFORM_OF,
|
||||
)
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ def test_platform_mapping_covers_all_subclasses():
|
||||
assert PLATFORM_OF[NumberDesc] == 'number'
|
||||
assert PLATFORM_OF[TimeDesc] == 'time'
|
||||
assert PLATFORM_OF[ClimateDesc] == 'climate'
|
||||
assert PLATFORM_OF[FanDesc] == 'fan'
|
||||
|
||||
|
||||
def test_select_carries_options_and_write_fn():
|
||||
|
||||
Reference in new issue
Block a user