Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.cpuspeed.sensor Namespace Reference

Classes

class  CPUSpeedSensor
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

string ATTR_ARCH = "arch"
 
string ATTR_BRAND = "brand"
 
string ATTR_HZ = "ghz_advertised"
 
string HZ_ACTUAL = "hz_actual"
 
string HZ_ADVERTISED = "hz_advertised"
 

Detailed Description

Support for displaying the current CPU speed.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.cpuspeed.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the platform from config_entry.

Definition at line 24 of file sensor.py.

Variable Documentation

◆ ATTR_ARCH

string homeassistant.components.cpuspeed.sensor.ATTR_ARCH = "arch"

Definition at line 18 of file sensor.py.

◆ ATTR_BRAND

string homeassistant.components.cpuspeed.sensor.ATTR_BRAND = "brand"

Definition at line 16 of file sensor.py.

◆ ATTR_HZ

string homeassistant.components.cpuspeed.sensor.ATTR_HZ = "ghz_advertised"

Definition at line 17 of file sensor.py.

◆ HZ_ACTUAL

string homeassistant.components.cpuspeed.sensor.HZ_ACTUAL = "hz_actual"

Definition at line 20 of file sensor.py.

◆ HZ_ADVERTISED

string homeassistant.components.cpuspeed.sensor.HZ_ADVERTISED = "hz_advertised"

Definition at line 21 of file sensor.py.