'Initialize the Command line binary sensor.'

def __init__(self, hass, data, name, device_class, payload_on, payload_off, value_template):

    self._hass = hass
    self.data = data
    self._name = name
    self._device_class = device_class
    self._state = False
    self._payload_on = payload_on
    self._payload_off = payload_off
    self._value_template = value_template
