2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-03 19:49:02 +00:00

70_BRAVIA.pm: fix register procedure

git-svn-id: https://svn.fhem.de/fhem/trunk@22130 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
vuffiraa 2020-06-06 17:28:42 +00:00
parent ad4ac91b2d
commit b74981105a
2 changed files with 2 additions and 1 deletions

View File

@ -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.
- bugfix: 70_BRAVIA: fix register procedure
- change: 32_withings: added sleep apnea readings
- feature: 72_XiaomiDevice: Vacuum segments, Zhimi ZA4 fan readings
- changed: 46_TeslaPowerwall2AC: New API Implementation

View File

@ -859,7 +859,7 @@ sub SendCommand($$;$$@) {
$data .= "\"level\":\"private\"},";
$data .= "[{\"value\":\"yes\",\"function\":\"WOL\"}]],\"id\":8,\"version\":\"1.0\"}";
} else {
$URL .= "/cers/api/register?name=".urlEncode($id)."&registrAtionType=initial&deviceId=".$device;
$URL .= "/cers/api/register?name=".::urlEncode($id)."&registrAtionType=initial&deviceId=".$device;
}
} elsif ($service eq "getStatus") {
$URL .= $port->{SERVICE};