Skip to content

Commit

Permalink
Merge pull request bspranger#105 from bspranger/alecm-battery-report-…
Browse files Browse the repository at this point in the history
…tweak

Slight change to Battery reporting in recently
  • Loading branch information
alecm authored Feb 25, 2018
2 parents 4dca496 + 8f5923b commit ca0990f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange:true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

log.debug "${device.displayName}: ${result}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange:true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

log.debug "${device.displayName}: ${result}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange:true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

log.debug "${device.displayName}: ${result}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange: true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

return result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange: true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

return result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange:true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

log.debug "${device.displayName}: ${result}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange: true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

log.debug "${device.displayName}: ${result}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange: true,
descriptionText : "${device.displayName} raw battery is ${rawVolts}v"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

return result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange: true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

return result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private Map getBatteryResult(rawValue) {
value: roundedPct,
unit: "%",
isStateChange:true,
descriptionText : "${device.displayName} is at ${roundedPct}% (${rawVolts} Volts)"
descriptionText : "${device.displayName} Battery at ${roundedPct}% (${rawVolts} Volts)"
]

return result
Expand Down

0 comments on commit ca0990f

Please sign in to comment.