Browse Source

bug fix previous value of a device

tags/v1.0.0
Dirk Alders 2 years ago
parent
commit
47dbebb4b2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      devices/__init__.py

+ 1
- 1
devices/__init__.py View File

190
         return "default warning text - replace parent warning_text function"
190
         return "default warning text - replace parent warning_text function"
191
 
191
 
192
     def previous_value(self, key):
192
     def previous_value(self, key):
193
-        self.__previous__.get(key)
193
+        return self.__previous__.get(key)
194
 
194
 
195
 
195
 
196
 class shelly(base):
196
 class shelly(base):

Loading…
Cancel
Save