Fix BinarySensor Class name
This commit is contained in:
parent
2f48db9582
commit
2750137017
@ -9,10 +9,10 @@ async def async_setup_platform(
|
|||||||
hass, config, async_add_entities, discovery_info=None
|
hass, config, async_add_entities, discovery_info=None
|
||||||
): # pylint: disable=unused-argument
|
): # pylint: disable=unused-argument
|
||||||
"""Setup sensor platform."""
|
"""Setup sensor platform."""
|
||||||
async_add_entities([BlueprintSensor(hass)], True)
|
async_add_entities([BlueprintBinarySensor(hass)], True)
|
||||||
|
|
||||||
|
|
||||||
class BlueprintSensor(BinarySensorDevice):
|
class BlueprintBinarySensor(BinarySensorDevice):
|
||||||
"""blueprint Sensor class."""
|
"""blueprint Sensor class."""
|
||||||
|
|
||||||
def __init__(self, hass):
|
def __init__(self, hass):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user