home-assistant.io/source/_components/binary_sensor.tapsaff.markdown
Jorim Tielemans a52f37c913 Remove empty lines and trailing spaces (#6978)
Add missing titles and empty lines
Fix variable type and missing defaults
2018-10-20 12:55:45 +02:00

41 lines
982 B
Markdown

---
layout: page
title: "Taps Aff"
description: "Instructions on how to use the Taps Aff binary sensor in Home Assistant."
date: 2017-05-28 18:00
sidebar: true
comments: false
sharing: true
footer: true
logo: tapsaff.png
ha_category: Weather
featured: false
ha_release: 0.47
ha_iot_class: "Local Polling"
---
The `tapsaff` binary sensor provides the 'Taps Aff' status for a given location within the UK using [Taps Aff](http://www.taps-aff.co.uk).
## {% linkable_title Configuration %}
To enable this sensor, add the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
binary_sensor:
- platform: tapsaff
location: glasgow
```
{% configuration %}
location:
description: The location for the Taps Aff. It must be configured with a UK postcode or city to work.
required: true
type: string
name:
description: The name to use when displaying this sensor.
required: false
type: string
default: Taps Aff
{% endconfiguration %}