fixed smart home parsing for Fritz\!OS 7.56

This commit is contained in:
Ernst Martin Witte 2023-07-25 22:44:18 +02:00
parent 6fa1df1467
commit f905ecddb3
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def getSimplifiedDevices(debug=False):
if "holidayActive" in skill:
simpleDev["holidayActive" ] = skill["holidayActive"]
if "temperatureDropDetection" in skill:
if "temperatureDropDetection" in skill and "isWindowOpen" in skill["temperatureDropDetection"]:
simpleDev["windowOpen" ] = skill["temperatureDropDetection"]["isWindowOpen"]
if "targetTemp" in skill: