From e0bda25640c9bf072ecf9925fb5f2d95e558067e Mon Sep 17 00:00:00 2001 From: trilu2000 Date: Tue, 9 Apr 2019 11:47:18 +0200 Subject: [PATCH] STATE_UNCERTAIN for Homematic Lock devices introduced Homematic Lock devices provides an uncertain flag if the lock was opened manually an the lock is uncertain regards the status. The other necassary functionality was implemented in pyhomematic by Daniel earlier... --- homeassistant/components/homematic/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index a8109af5ed8..ccf89551f45 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -125,7 +125,8 @@ HM_ATTRIBUTE_SUPPORT = { 'CURRENT': ['current', {}], 'VOLTAGE': ['voltage', {}], 'OPERATING_VOLTAGE': ['voltage', {}], - 'WORKING': ['working', {0: 'No', 1: 'Yes'}] + 'WORKING': ['working', {0: 'No', 1: 'Yes'}], + 'STATE_UNCERTAIN': ['state_uncertain', {}] } HM_PRESS_EVENTS = [