Skip to content

Commit b95177f

Browse files
authored
Fix the HA-state of the binary_sensors
1 parent 0b57bda commit b95177f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom_components/plugwise-beta/binary_sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import logging
44
from typing import Dict
55

6-
from homeassistant.components.binary_sensor import DEVICE_CLASS_HEAT, BinarySensorDevice
6+
from homeassistant.components.binary_sensor import BinarySensorDevice
77
from homeassistant.const import STATE_OFF, STATE_ON
88
from homeassistant.core import callback
99

@@ -124,7 +124,7 @@ def icon(self):
124124
@property
125125
def device_class(self):
126126
"""Return the class of this device, from component DEVICE_CLASSES."""
127-
return DEVICE_CLASS_HEAT
127+
return "none"
128128

129129
def update(self):
130130
"""Update the entity."""

0 commit comments

Comments
 (0)