Stan Janssen 4 лет назад
Родитель
Сommit
eb365d50d4
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      pyopenadr/enums.py

+ 6 - 1
pyopenadr/enums.py

@@ -1,3 +1,8 @@
+"""
+A collection of useful enumerations that you can use to construct or
+interpret OpenADR messages. Can also be useful during testing.
+"""
+
 class Enum(type):
     def __getitem__(self, item):
         return getattr(self, item)
@@ -35,7 +40,7 @@ class SIGNAL_NAME(metaclass=Enum):
     SIMPLE = "SIMPLE"
     simple = "simple"
     ELECTRICITY_PRIC = "ELECTRICITY_PRICE"
-    ENERGY_PRICE = "ELECTRICITY_PRICE"
+    ENERGY_PRICE = "ENERGY_PRICE"
     DEMAND_CHARGE = "DEMAND_CHARGE"
     BID_PRICE = "BID_PRICE"
     BID_LOAD = "BID_LOAD"