def __init__(self, object_id, name, state, icon):
        self.entity_id = ENTITY_ID_FORMAT.format(object_id)
        self._name = name
        self._state = state
        self._icon = icon
Initialize a boolean input.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/input_boolean.py/InputBoolean.__init__