maxcube: Set MAX! Window Sensor's class to 'window' (#11799)

The sensors are meant to be put on windows to shut down the heating when
windows are open. Having 'window' device class instead of 'opening' is
much more logical here.
This commit is contained in:
Oleksii Serdiuk authored and Pascal Vizeli committed 2018-01-22 12:32:27 +01:00
1 parent c8d26d99f0
commit 8c627e2b8b
1 file changed
+1 -1
@@ -36,7 +36,7 @@ class MaxCubeShutter(BinarySensorDevice):
def __init__(self, hass, name, rf_address):
"""Initialize MAX! Cube BinarySensorDevice."""
self._name = name
self._sensor_type = 'opening'
self._sensor_type = 'window'
self._rf_address = rf_address
self._cubehandle = hass.data[MAXCUBE_HANDLE]
self._state = STATE_UNKNOWN