Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.systemmonitor.sensor.SysMonitorSensorEntityDescription
 
class  homeassistant.components.systemmonitor.sensor.SystemMonitorSensor
 

Namespaces

 homeassistant.components.systemmonitor.sensor
 

Functions

None homeassistant.components.systemmonitor.sensor.async_setup_entry (HomeAssistant hass, SystemMonitorConfigEntry entry, AddEntitiesCallback async_add_entities)
 
bool homeassistant.components.systemmonitor.sensor.check_legacy_resource (str resource, set[str] resources)
 
Literal["mdi:cpu-64-bit", "mdi:cpu-32-bit"] homeassistant.components.systemmonitor.sensor.get_cpu_icon ()
 
str|None homeassistant.components.systemmonitor.sensor.get_ip_address (SystemMonitorSensor entity)
 
float|None homeassistant.components.systemmonitor.sensor.get_network (SystemMonitorSensor entity)
 
float|None homeassistant.components.systemmonitor.sensor.get_packets (SystemMonitorSensor entity)
 
float|None homeassistant.components.systemmonitor.sensor.get_throughput (SystemMonitorSensor entity)
 

Variables

 homeassistant.components.systemmonitor.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.systemmonitor.sensor.CONF_ARG = "arg"
 
dictionary homeassistant.components.systemmonitor.sensor.IF_ADDRS_FAMILY = {"ipv4_address": socket.AF_INET, "ipv6_address": socket.AF_INET6}
 
dictionary homeassistant.components.systemmonitor.sensor.IO_COUNTER
 
int homeassistant.components.systemmonitor.sensor.SENSOR_TYPE_DEVICE_CLASS = 3
 
int homeassistant.components.systemmonitor.sensor.SENSOR_TYPE_ICON = 2
 
int homeassistant.components.systemmonitor.sensor.SENSOR_TYPE_MANDATORY_ARG = 4
 
int homeassistant.components.systemmonitor.sensor.SENSOR_TYPE_NAME = 0
 
int homeassistant.components.systemmonitor.sensor.SENSOR_TYPE_UOM = 1
 
string homeassistant.components.systemmonitor.sensor.SIGNAL_SYSTEMMONITOR_UPDATE = "systemmonitor_update"