瀏覽代碼

Fixed ENERGY_PRICE enum

Stan Janssen 3 年之前
父節點
當前提交
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"