home-assistant.io/source/_integrations/sensor.websocket_api.markdown
Franck Nijhof 272086948a
Collection of domain & logo cleanups (#12299)
* Collection of domain & logo cleanups

* Fix build
2020-03-06 23:02:31 +01:00

635 B

title, description, logo, ha_category, ha_release, ha_iot_class, ha_quality_scale, ha_domain
title description logo ha_category ha_release ha_iot_class ha_quality_scale ha_domain
Websocket Connections Sensor Instructions on how to count connected clients within Home Assistant. home-assistant.png
Utility
0.33 Local Push internal websocket_api

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.