[hdpowerview] Add Hub configuration option hardRefreshBatteryLevel (#11260)
* Add Hub configuration option hardRefreshBatteryLevel for refreshing battery status more frequently. * Explicitly update battery channels to Undefined when data is missing or invalid. Fixes #11259 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
@@ -218,7 +218,7 @@ public class HDPowerViewJUnitTests {
|
||||
Shade shade = null;
|
||||
try {
|
||||
assertNotEquals(0, shadeId);
|
||||
shade = webTargets.refreshShade(shadeId);
|
||||
shade = webTargets.refreshShadePosition(shadeId);
|
||||
assertNotNull(shade);
|
||||
} catch (HubProcessingException | HubMaintenanceException e) {
|
||||
fail(e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user