mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-11 10:56:29 -06:00
* Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase * Update all integrations quality scales (done by sync)
610 B
610 B
title, description, logo, ha_category, ha_release, ha_iot_class, ha_quality_scale
| title | description | logo | ha_category | ha_release | ha_iot_class | ha_quality_scale | |
|---|---|---|---|---|---|---|---|
| Websocket Connections Sensor | Instructions on how to count connected clients within Home Assistant. | home-assistant.png |
|
0.33 | Local Push | 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:
# Example configuration.yaml entry
sensor:
- platform: websocket_api
Note
This replaces the previous api_streams sensor.