Skip to content

Commit b5f0818

Browse files
authored
Add switch to SENSOR_PLATFORMS to cover the switch-functions on the Stretch
1 parent bc46793 commit b5f0818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
_LOGGER = logging.getLogger(__name__)
3131

32-
SENSOR_PLATFORMS = ["sensor"]
32+
SENSOR_PLATFORMS = ["sensor", "switch"]
3333
ALL_PLATFORMS = ["binary_sensor", "climate", "sensor", "switch"]
3434

3535

0 commit comments

Comments
 (0)