diff --git a/custom_components/octopus_energy/intelligent/__init__.py b/custom_components/octopus_energy/intelligent/__init__.py index ef0a753e..95f55a90 100644 --- a/custom_components/octopus_energy/intelligent/__init__.py +++ b/custom_components/octopus_energy/intelligent/__init__.py @@ -230,7 +230,8 @@ def __init__(self, "SMARTCAR", "TESLA", "SMART_PEAR", - "HYPERVOLT" + "HYPERVOLT", + "INDRA" ] def get_intelligent_features(provider: str) -> IntelligentFeatures: diff --git a/tests/unit/intelligent/test_get_intelligent_features.py b/tests/unit/intelligent/test_get_intelligent_features.py index d8910e3f..6b2d5f4e 100644 --- a/tests/unit/intelligent/test_get_intelligent_features.py +++ b/tests/unit/intelligent/test_get_intelligent_features.py @@ -20,6 +20,7 @@ ("TESLA", True, True, True, True, True, False), ("SMART_PEAR", True, True, True, True, True, False), ("HYPERVOLT", True, True, True, True, True, False), + ("INDRA", True, True, True, True, True, False), ("OHME", False, False, False, False, False, False), ("DAIKIN".lower(), True, True, True, True, True, False), ("ECOBEE".lower(), True, True, True, True, True, False), @@ -37,6 +38,7 @@ ("TESLA".lower(), True, True, True, True, True, False), ("SMART_PEAR".lower(), True, True, True, True, True, False), ("HYPERVOLT".lower(), True, True, True, True, True, False), + ("INDRA".lower(), True, True, True, True, True, False), ("OHME".lower(), False, False, False, False, False, False), # Unexpected providers ("unexpected".lower(), False, False, False, False, False, True),