Site updated at 2017-07-23 15:02:15 UTC

This commit is contained in:
Travis CI 2017-07-23 15:02:16 +00:00
parent d149175dd5
commit 83b56921cb
26 changed files with 59 additions and 59 deletions

View file

@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Binary Sensor - Home Assistant</title>
<meta name="author" content="Home Assistant">
<meta name="description" content="Instructions how to setup your binary sensors with Home Assistant.">
<meta name="description" content="Instructions on how-to setup binary sensors with Home Assistant.">
<meta name="viewport" content="width=device-width">
<link rel="canonical" href="https://home-assistant.io/components/binary_sensor/">
<meta property="fb:app_id" content="338291289691179">
@ -16,12 +16,12 @@
<meta property="og:site_name" content="Home Assistant">
<meta property="og:url" content="https://home-assistant.io/components/binary_sensor/">
<meta property="og:type" content="article">
<meta property="og:description" content="Instructions how to setup your binary sensors with Home Assistant.">
<meta property="og:description" content="Instructions on how-to setup binary sensors with Home Assistant.">
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@home_assistant">
<meta name="twitter:title" content="Binary Sensor">
<meta name="twitter:description" content="Instructions how to setup your binary sensors with Home Assistant.">
<meta name="twitter:description" content="Instructions on how-to setup binary sensors with Home Assistant.">
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
@ -74,26 +74,26 @@
</h1>
</header>
<hr class="divider">
<p>Binary sensors are gathering information about state of switches, contacts, pins, and alike. The return value of those sensors is usually digital (1/0). This means that those sensors knows only two states: <strong>0/off/low/closed/false</strong> and <strong>1/on/high/open/true</strong>.</p>
<p>Knowing that there are only two states allows Home Assistant to represent the sensor better in the frontend.</p>
<p>The display style of each entity can be modified in the <a href="/getting-started/customizing-devices/">customize section</a>. The following device classes are supported for binary sensors:</p>
<p>Binary sensors gather information about state of switches, contacts, pins, and alike. The return value of those sensors is usually digital (1/0). This means that those sensors knows only two states: <strong>0/off/low/closed/false</strong> and <strong>1/on/high/open/true</strong>.</p>
<p>Knowing that there are only two states allows Home Assistant to represent these sensors in a better way in the frontend according to their functionality.</p>
<p>The way these sensors are displayed in the frontend can be modified in the <a href="/getting-started/customizing-devices/">customize section</a>. The following device classes are supported for binary sensors:</p>
<ul>
<li><strong>None</strong>: Generic on/off</li>
<li><strong>cold</strong>: On means cold (or too cold)</li>
<li><strong>connectivity</strong>: On means connection present, Off means no connection</li>
<li><strong>gas</strong>: CO, CO2, etc</li>
<li><strong>heat</strong>: On means hot (or too hot)</li>
<li><strong>cold</strong>: <code class="highlighter-rouge">On</code> means cold</li>
<li><strong>connectivity</strong>: <code class="highlighter-rouge">On</code> means connection present, <code class="highlighter-rouge">Off</code> means no connection</li>
<li><strong>gas</strong>: <code class="highlighter-rouge">On</code> means gas detected</li>
<li><strong>heat</strong>: <code class="highlighter-rouge">On</code> means hot</li>
<li><strong>light</strong>: Lightness threshold</li>
<li><strong>moisture</strong>: Specifically a wetness sensor</li>
<li><strong>motion</strong>: Motion sensor</li>
<li><strong>moving</strong>: On means moving, Off means stopped</li>
<li><strong>occupancy</strong>: On means occupied, Off means not occupied</li>
<li><strong>opening</strong>: Door, window, etc. On means open, Off means closed</li>
<li><strong>power</strong>: Power, over-current, etc</li>
<li><strong>safety</strong>: On means unsafe, Off means safe</li>
<li><strong>smoke</strong>: Smoke detector</li>
<li><strong>sound</strong>: On means sound detected, Off means no sound</li>
<li><strong>vibration</strong>: On means vibration detected, Off means no vibration</li>
<li><strong>moisture</strong>: <code class="highlighter-rouge">On</code> means wet</li>
<li><strong>motion</strong>: <code class="highlighter-rouge">On</code> means motion detected</li>
<li><strong>moving</strong>: <code class="highlighter-rouge">On</code> means moving, <code class="highlighter-rouge">Off</code> means stopped</li>
<li><strong>occupancy</strong>: <code class="highlighter-rouge">On</code> means occupied, <code class="highlighter-rouge">Off</code> means not occupied</li>
<li><strong>opening</strong>: <code class="highlighter-rouge">On</code> means open, <code class="highlighter-rouge">Off</code> means closed</li>
<li><strong>power</strong>: Power, over-current, etc.</li>
<li><strong>safety</strong>: <code class="highlighter-rouge">On</code> means unsafe, <code class="highlighter-rouge">Off</code> means safe</li>
<li><strong>smoke</strong>: <code class="highlighter-rouge">On</code> means smoke detected</li>
<li><strong>sound</strong>: <code class="highlighter-rouge">On</code> means sound detected, <code class="highlighter-rouge">Off</code> means no sound</li>
<li><strong>vibration</strong>: <code class="highlighter-rouge">On</code> means vibration detected, <code class="highlighter-rouge">Off</code> means no vibration</li>
</ul>
<p>For analog sensors please check the <a href="https://home-assistant.io/components/#sensor">component overview</a>.</p>
</article>