From 6ab2f89a30ffcc5d27e3896f61598b62231e2e86 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sat, 9 Mar 2019 13:21:47 +0100 Subject: [PATCH] Fix icon for binary_sensor --- custom_components/blueprint/binary_sensor.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/custom_components/blueprint/binary_sensor.py b/custom_components/blueprint/binary_sensor.py index 7b4725a..a42f836 100644 --- a/custom_components/blueprint/binary_sensor.py +++ b/custom_components/blueprint/binary_sensor.py @@ -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."""