mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add note about containers (#6511)
This commit is contained in:
parent
28b6ff4f59
commit
746b3cb303
@ -16,6 +16,13 @@ ha_iot_class: "Local Push"
|
|||||||
|
|
||||||
The `cpuspeed` sensor platform to allow you to monitor the current CPU speed.
|
The `cpuspeed` sensor platform to allow you to monitor the current CPU speed.
|
||||||
|
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
To add this platform to your installation, add the following to your `configuration.yaml` file:
|
To add this platform to your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -24,6 +31,10 @@ sensor:
|
|||||||
- platform: cpuspeed
|
- platform: cpuspeed
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
name:
|
||||||
- **name** (*Optional*): Name of the sensor.
|
description: Name to use in the frontend.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: CPU speed
|
||||||
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user