From d6268c40fe011a6c0ac92e90d583db5e6c6aed0e Mon Sep 17 00:00:00 2001 From: Penny Wood Date: Sat, 23 Mar 2019 03:56:30 +0800 Subject: [PATCH] Renamed to websocket_api (#8984) --- .../_components/sensor.api_streams.markdown | 29 --------------- .../_components/sensor.websocket_api.markdown | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 29 deletions(-) delete mode 100644 source/_components/sensor.api_streams.markdown create mode 100644 source/_components/sensor.websocket_api.markdown diff --git a/source/_components/sensor.api_streams.markdown b/source/_components/sensor.api_streams.markdown deleted file mode 100644 index a264c4c41dd..00000000000 --- a/source/_components/sensor.api_streams.markdown +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: page -title: "API Streams Sensor" -description: "Instructions on how to count clients using the API streams within Home Assistant." -date: 2016-11-19 10:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: home-assistant.png -ha_category: Utility -ha_release: 0.33 -ha_iot_class: Local Push -ha_qa_scale: internal -redirect_from: /components/sensor.api_stream/ ---- - -The `api_streams` sensor platform shows how many clients are connected to the stream API. - -## {% linkable_title Configuration %} - -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 -``` - diff --git a/source/_components/sensor.websocket_api.markdown b/source/_components/sensor.websocket_api.markdown new file mode 100644 index 00000000000..c08cfa18835 --- /dev/null +++ b/source/_components/sensor.websocket_api.markdown @@ -0,0 +1,35 @@ +--- +layout: page +title: "Websocket Connections Sensor" +description: "Instructions on how to count connected clients within Home Assistant." +date: 2019-03-20 10:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: home-assistant.png +ha_category: Utility +ha_release: 0.33 +ha_iot_class: Local Push +ha_qa_scale: internal +redirect_from: + - /components/sensor.api_stream/ + - /components/sensor.api_streams/ + +--- + +The `websocket_api` sensor platform shows how many clients are connected to the stream API. + +## {% linkable_title 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 +``` + +### {% linkable_title Note %} + +This replaces the previous `api_streams` sensor.