home-assistant.io/source/_components/sensor.api_stream.markdown
Alok Saboo 1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00

26 lines
591 B
Markdown

---
layout: page
title: "API Stream Sensor"
description: "Instructions on how to count clients using the API stream within Home Assistant."
date: 2016-11-19 10:00
sidebar: true
comments: false
sharing: true
footer: true
logo: home-assistant.png
ha_category: Sensor
ha_release: 0.33
ha_iot_class: "Local Push"
---
The `api_stream` sensor platform shows how many clients are connected to the stream API
To add the connected clients to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: api_streams
```