Battery level (string) was the dp before the numeric level. Issue #2520
@@ -45,7 +45,7 @@ secondary_entities:
name: sensor
unit: "%"
class: measurement
- - id: 16
+ - id: 14
type: string
name: level
- entity: switch