mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
Add absolute humidity component (#4519)
* Import Absolute Humidity component https://PigLab.ReaperLegion.net/home-automation/hass/esphome/custom-components/absolute-humidity * Fix terminology, add some docstrings * Switch from double to float https://github.com/esphome/esphome/pull/4519#pullrequestreview-1327615169 The additional precision doesn't matter in practice. * Address code review suggestions * Lint code
This commit is contained in:
@@ -214,6 +214,7 @@ CONF_ENERGY = "energy"
|
||||
CONF_ENTITY_CATEGORY = "entity_category"
|
||||
CONF_ENTITY_ID = "entity_id"
|
||||
CONF_ENUM_DATAPOINT = "enum_datapoint"
|
||||
CONF_EQUATION = "equation"
|
||||
CONF_ESP8266_DISABLE_SSL_SUPPORT = "esp8266_disable_ssl_support"
|
||||
CONF_ESPHOME = "esphome"
|
||||
CONF_ETHERNET = "ethernet"
|
||||
@@ -860,6 +861,7 @@ ICON_SIGNAL_DISTANCE_VARIANT = "mdi:signal"
|
||||
ICON_THERMOMETER = "mdi:thermometer"
|
||||
ICON_TIMELAPSE = "mdi:timelapse"
|
||||
ICON_TIMER = "mdi:timer-outline"
|
||||
ICON_WATER = "mdi:water"
|
||||
ICON_WATER_PERCENT = "mdi:water-percent"
|
||||
ICON_WEATHER_SUNSET = "mdi:weather-sunset"
|
||||
ICON_WEATHER_SUNSET_DOWN = "mdi:weather-sunset-down"
|
||||
@@ -881,6 +883,7 @@ UNIT_DEGREE_PER_SECOND = "°/s"
|
||||
UNIT_DEGREES = "°"
|
||||
UNIT_EMPTY = ""
|
||||
UNIT_G = "G"
|
||||
UNIT_GRAMS_PER_CUBIC_METER = "g/m³"
|
||||
UNIT_HECTOPASCAL = "hPa"
|
||||
UNIT_HERTZ = "Hz"
|
||||
UNIT_HOUR = "h"
|
||||
|
Reference in New Issue
Block a user