Add and use frequency constants (#34113)

This commit is contained in:
springstan authored and GitHub committed 2020-04-12 22:44:31 +02:00
1 parent 00b6409b76
commit 19dd797dfe
9 files changed
+29 -14

No files matched your search

@@ -13,6 +13,7 @@ from homeassistant.const import (
CONF_IP_ADDRESS,
CONF_NAME,
ENERGY_WATT_HOUR,
FREQUENCY_HERTZ,
POWER_WATT,
TEMP_CELSIUS,
TEMP_FAHRENHEIT,
@@ -58,7 +59,7 @@ SENSOR_TYPES = {
"current_frequency": [
"gridfrequency",
"Grid Frequency",
"Hz",
FREQUENCY_HERTZ,
"mdi:current-ac",
None,
],