Skip to content

Commit

Permalink
Change STATE_UNLOCKED to be the 'on' value.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed May 1, 2020
1 parent cab8e7f commit 9528ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/nodered/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from homeassistant.const import (
CONF_STATE,
STATE_HOME,
STATE_LOCKED,
STATE_OFF,
STATE_ON,
STATE_OPEN,
STATE_UNLOCKED,
)
from homeassistant.helpers.dispatcher import async_dispatcher_connect

Expand Down Expand Up @@ -42,7 +42,7 @@ class NodeRedBinarySensor(NodeRedEntity):
STATE_ON,
STATE_OPEN,
STATE_HOME,
STATE_LOCKED,
STATE_UNLOCKED,
)

def __init__(self, hass, config):
Expand Down

0 comments on commit 9528ea7

Please sign in to comment.