mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add API stream sensor docs (#1462)
This commit is contained in:
parent
97393a3125
commit
793ee3f257
24
source/_components/sensor.api_stream.markdown
Normal file
24
source/_components/sensor.api_stream.markdown
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "API Stream Sensor"
|
||||||
|
description: "Instructions 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
|
||||||
|
---
|
||||||
|
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user