home-assistant.github.io/source/_components/input_boolean.markdown
2016-01-17 17:02:47 -08:00

777 B

layout title description date sidebar comments sharing footer logo ha_category
component Input Boolean Instructions how to integrate the Input Boolean component into Home Assistant. 2016-01-17 16:58 true false true true home-assistant.png Automation

The input boolean component allows the user to define boolean values that can be controlled via the frontend and can be used within conditions of automation. This can for example be used to disable or enable certain automations.

# Example configuration.yaml entry
input_boolean:
  notify_home:
    # Optional, friendly name of entry
    name: Notify when someome arrives home
    # Optional, value when Home Assistant starts
    initial: off
    # Optional, icon for entry
    icon: mdi:car