package
3.3.0+incompatible
Repository: https://github.com/joshuar/go-hass-agent.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author

# Constants

Apparent power.
Air Quality Index.
Atmospheric pressure.
Concentration of carbon dioxide.
Concentration of carbon monoxide.
Current.
Data rate.
Data size.
Date.
Generic distance.
Time period.
Energy, this device class should used for sensors representing energy consumption, for example an electricity meter.
Stored energy, this device class should be used for sensors representing stored energy, for example the amount of electric energy currently stored in a battery or the capacity of a battery.
The sensor has a limited set of (non-numeric) states.
Frequency.
Volume of gas.
Relative humidity.
Light level.
Irradiance.
Moisture.
Monetary value with a currency.
Concentration of nitrogen dioxide.
Concentration of nitrogen monoxide.
Concentration of nitrous oxide.
Concentration of ozone.
Concentration of particulate matter less than 1 micrometer.
Concentration of particulate matter less than 10 micrometers.
Concentration of particulate matter less than 2.5 micrometers.
Power Factor.
Accumulated precipitation.
Precipitation intensity.
Pressure.
Reactive power.
Percentage of battery that is left.
Power.
Temperature.
Signal strength.
Sound pressure.
Generic speed.
No description provided by the author
measurement.
total.
total_increasing.
Concentration of sulphure dioxide.
Timestamp.
binary_sensor.
sensor.
Concentration of volatile organic compounds.
Voltage.
Generic stored volume, this device class should be used for sensors representing a stored volume, for example the amount of fuel in a fuel tank.
Water consumption.
Generic mass; weight is used instead of mass to fit with every day language.
Wind speed.

# Structs

SensorRegistrationInfo is the JSON structure required to register a sensor with HA.
No description provided by the author
SensorUpdateInfo is the JSON structure required to update HA with the current sensor state.
No description provided by the author

# Type aliases

SensorDeviceClass reflects the HA device class of the sensor.
SensorStateClass reflects the HA state class of the sensor.
SensorType reflects the type of sensor, sensor or binary_sensor.