Fix icon for binary_sensor

This commit is contained in:
ludeeus 2019-03-09 13:21:47 +01:00
parent 551e08ef37
commit 6ab2f89a30

View File

@ -1,7 +1,7 @@
"""Binary ensor platform for blueprint."""
from homeassistant.components.binary_sensor import BinarySensorDevice
from . import update_data
from .const import BINARY_SENSOR_DEVICE_CLASS, DOMAIN_DATA, SENSOR_ICON
from .const import BINARY_SENSOR_DEVICE_CLASS, DOMAIN_DATA
async def async_setup_platform(
@ -53,11 +53,6 @@ class BlueprintBinarySensor(BinarySensorDevice):
"""Return true if the binary sensor is on."""
return self._status
@property
def icon(self):
"""Return the icon of the sensor."""
return SENSOR_ICON
@property
def device_state_attributes(self):
"""Return the state attributes."""