Skip to content

Commit

Permalink
fix: door sensor missing value_key for contact
Browse files Browse the repository at this point in the history
- the door sensor status is unknown
  • Loading branch information
rxwen committed Nov 8, 2023
1 parent 8cefe7e commit 49ce293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/terncy/profiles/before_2023_7.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
TerncyBinarySensorDescription(
key="contact",
name=None,
value_attr="contact",
),
TemperatureDescription(name="Temperature"),
BatteryDescription(name="Battery"),
Expand Down
1 change: 1 addition & 0 deletions custom_components/terncy/profiles/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
TerncyBinarySensorDescription(
key="contact",
name=None,
value_attr="contact",
),
TemperatureDescription(),
BatteryDescription(),
Expand Down

0 comments on commit 49ce293

Please sign in to comment.