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

Classes

class  GpsdSensor
 
class  GpsdSensorDescription
 

Functions

None async_setup_entry (HomeAssistant hass, GPSDConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary _MODE_VALUES = {2: "2d_fix", 3: "3d_fix"}
 
string ATTR_CLIMB = "climb"
 
string ATTR_ELEVATION = "elevation"
 
string ATTR_GPS_TIME = "gps_time"
 
string ATTR_SPEED = "speed"
 
string DEFAULT_NAME = "GPS"
 

Detailed Description

Sensor platform for GPSD integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.gpsd.sensor.async_setup_entry ( HomeAssistant  hass,
GPSDConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the GPSD component.

Definition at line 122 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.gpsd.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 36 of file sensor.py.

◆ _MODE_VALUES

dictionary homeassistant.components.gpsd.sensor._MODE_VALUES = {2: "2d_fix", 3: "3d_fix"}
private

Definition at line 45 of file sensor.py.

◆ ATTR_CLIMB

string homeassistant.components.gpsd.sensor.ATTR_CLIMB = "climb"

Definition at line 38 of file sensor.py.

◆ ATTR_ELEVATION

string homeassistant.components.gpsd.sensor.ATTR_ELEVATION = "elevation"

Definition at line 39 of file sensor.py.

◆ ATTR_GPS_TIME

string homeassistant.components.gpsd.sensor.ATTR_GPS_TIME = "gps_time"

Definition at line 40 of file sensor.py.

◆ ATTR_SPEED

string homeassistant.components.gpsd.sensor.ATTR_SPEED = "speed"

Definition at line 41 of file sensor.py.

◆ DEFAULT_NAME

string homeassistant.components.gpsd.sensor.DEFAULT_NAME = "GPS"

Definition at line 43 of file sensor.py.