diff --git a/enerdata/contracts/tariff.py b/enerdata/contracts/tariff.py index 67e1bd0..3129184 100644 --- a/enerdata/contracts/tariff.py +++ b/enerdata/contracts/tariff.py @@ -1164,6 +1164,14 @@ def __init__(self, **kwargs): self.cof = '3.0TDVE' +class T62TDVE(T62TD): + """Classe que implementa la Tarifa 6.2TDVE.""" + def __init__(self, **kwargs): + super(T62TDVE, self).__init__(**kwargs) + self.code = '6.2TDVE' + self.cof = None + + class T1P(Tariff): def __init__(self): super(T1P, self).__init__() @@ -1264,6 +1272,7 @@ def get_tariff_by_code(code): '6.3TD': T63TD, '6.4TD': T64TD, '3.0TDVE': T30TDVE, - '6.1TDVE': T61TDVE + '6.1TDVE': T61TDVE, + '6.2TDVE': T62TDVE } return available.get(code, None) diff --git a/requirements.txt b/requirements.txt index ae04814..c2be0a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ pytz workalendar<8.0.0 -pandas>=0.23.4 +pandas>=0.23.4,<3.0.0 requests six xlrd==1.2.0