From 746b3cb303126ea931060001985cb0bc985da0f9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Oct 2018 18:28:33 +0200 Subject: [PATCH] Add note about containers (#6511) --- source/_components/sensor.cpuspeed.markdown | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/source/_components/sensor.cpuspeed.markdown b/source/_components/sensor.cpuspeed.markdown index f69f0149679..f2e8a1596a5 100644 --- a/source/_components/sensor.cpuspeed.markdown +++ b/source/_components/sensor.cpuspeed.markdown @@ -16,6 +16,13 @@ ha_iot_class: "Local Push" The `cpuspeed` sensor platform to allow you to monitor the current CPU speed. + +

+ You can't use this sensor in a Container (like Hass.io) as it requires access to the physical CPU. Also, not all [ARM CPUs](https://github.com/workhorsy/py-cpuinfo/#cpu-support) are supported. +

+ +## {% linkable_title Configuration %} + To add this platform to your installation, add the following to your `configuration.yaml` file: ```yaml @@ -24,6 +31,10 @@ sensor: - platform: cpuspeed ``` -Configuration variables: - -- **name** (*Optional*): Name of the sensor. +{% configuration %} +name: + description: Name to use in the frontend. + required: false + type: string + default: CPU speed +{% endconfiguration %}