rework fpl api

This commit is contained in:
Yordan Suarez
2022-08-02 11:10:57 -04:00
parent a1dbe51f10
commit a9d343f1f5
16 changed files with 1129 additions and 489 deletions

View File

@@ -9,7 +9,7 @@ from .fplEntity import FplMoneyEntity
class FplProjectedBillSensor(FplMoneyEntity):
"""Projected bill sensor"""
_attr_state_class = STATE_CLASS_TOTAL
# _attr_state_class = STATE_CLASS_TOTAL
def __init__(self, coordinator, config, account):
super().__init__(coordinator, config, account, "Projected Bill")
@@ -35,7 +35,7 @@ class FplProjectedBillSensor(FplMoneyEntity):
class DeferedAmountSensor(FplMoneyEntity):
"""Defered amount sensor"""
_attr_state_class = STATE_CLASS_TOTAL
# _attr_state_class = STATE_CLASS_TOTAL
def __init__(self, coordinator, config, account):
super().__init__(coordinator, config, account, "Defered Amount")
@@ -50,7 +50,7 @@ class DeferedAmountSensor(FplMoneyEntity):
class ProjectedBudgetBillSensor(FplMoneyEntity):
"""projected budget bill sensor"""
_attr_state_class = STATE_CLASS_TOTAL
# _attr_state_class = STATE_CLASS_TOTAL
def __init__(self, coordinator, config, account):
super().__init__(coordinator, config, account, "Projected Budget Bill")
@@ -63,7 +63,7 @@ class ProjectedBudgetBillSensor(FplMoneyEntity):
class ProjectedActualBillSensor(FplMoneyEntity):
"""projeted actual bill sensor"""
_attr_state_class = STATE_CLASS_TOTAL
# _attr_state_class = STATE_CLASS_TOTAL
def __init__(self, coordinator, config, account):
super().__init__(coordinator, config, account, "Projected Actual Bill")