home-assistant.io/source/_integrations/sensor.websocket_api.markdown
Franck Nijhof 23b0b57c08
Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase (#11672)
* Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase

* Update all integrations quality scales (done by sync)
2020-01-08 13:10:43 +01:00

27 lines
610 B
Markdown

---
title: "Websocket Connections Sensor"
description: "Instructions on how to count connected clients within Home Assistant."
logo: home-assistant.png
ha_category:
- Utility
ha_release: 0.33
ha_iot_class: Local Push
ha_quality_scale: internal
---
The `websocket_api` sensor platform shows how many clients are connected to the stream API.
## Configuration
To add the connected clients to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: websocket_api
```
### Note
This replaces the previous `api_streams` sensor.