diff --git a/custom_components/terncy/profiles/before_2023_7.py b/custom_components/terncy/profiles/before_2023_7.py index 5c41be8..7a4e8be 100644 --- a/custom_components/terncy/profiles/before_2023_7.py +++ b/custom_components/terncy/profiles/before_2023_7.py @@ -120,6 +120,7 @@ TerncyBinarySensorDescription( key="contact", name=None, + value_attr="contact", ), TemperatureDescription(name="Temperature"), BatteryDescription(name="Battery"), diff --git a/custom_components/terncy/profiles/profiles.py b/custom_components/terncy/profiles/profiles.py index ca534c7..18096f9 100644 --- a/custom_components/terncy/profiles/profiles.py +++ b/custom_components/terncy/profiles/profiles.py @@ -128,6 +128,7 @@ TerncyBinarySensorDescription( key="contact", name=None, + value_attr="contact", ), TemperatureDescription(), BatteryDescription(),