[sonos] Fix battery level (Move) (#10024)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-02-03 10:43:09 +01:00 committed by GitHub
parent 51ea77f022
commit c1cec8e11e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -971,7 +971,7 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
} }
break; break;
case BATTERYLEVEL: case BATTERYLEVEL:
value = extractInfoFromMoreInfo("RawBattPct"); value = extractInfoFromMoreInfo("BattPct");
if (value != null) { if (value != null) {
newState = new DecimalType(value); newState = new DecimalType(value);
} }