diff --git a/fhem/CHANGED b/fhem/CHANGED index 75fc644d3..f3fc40eee 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - fixed: 74_Unifi: import encode_json for newest libs - change: 10_KNX: new major release. See commandref for details. The following attributes are deprecated now: readonly, listenonly, slider and useSetExtensions. diff --git a/fhem/FHEM/74_Unifi.pm b/fhem/FHEM/74_Unifi.pm index 62b2ef8f4..bb877fb97 100644 --- a/fhem/FHEM/74_Unifi.pm +++ b/fhem/FHEM/74_Unifi.pm @@ -24,6 +24,8 @@ # - fixed: 74_Unifi: restart-typo in poe # V 2.2.3 # - fixed: 74_Unifi: Cookies for UnifiController 5.9.4 +# V 2.2.4 +# - fixed: 74_Unifi: import encode_json for newest libs package main; @@ -32,6 +34,7 @@ use warnings; use HttpUtils; use POSIX; use JSON qw(decode_json); +use JSON qw(encode_json); ##############################################################################} ### Forward declarations ####################################################{