mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
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:
parent
c8d26d99f0
commit
8c627e2b8b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user