home-assistant: fix zigbee battery value_template override key #25
Reference in New Issue
Block a user
Delete Branch "fix-zigbee-battery-template"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the zigbee battery value_template override for WSDCGQ12LM sensors that report
battery: 0due to a firmware quirk.The original fix in
c515a6busedhomeassistant.sensor_battery.value_templatebut the correct key ishomeassistant.battery.value_template- the override key must match the entity type in the MQTT discovery topic path (homeassistant/sensor/<device>/battery/config).Changes
sensor_battery→batteryin the homeassistant override config for all three affected sensorsTest plan