Codegnosis / givtcp-battery-card

A simple battery card for Home Assistant for GivTCP users
MIT License
8 stars 1 forks source link

Detect mis-configuration of the inverter serial number #29

Closed gcoan closed 5 months ago

gcoan commented 6 months ago

Is your feature request related to a problem? Please describe. I had a new battery installed yesterday (on my second inverter) and so wanted to add a battery card for it. Copied the existing card and changed the serial number, but the card remained blank. Tried lots of things to fix it, concluded it might be the battery calibration causing it not to work, but today it still wasn’t working. Eventually tracked it down to I had configured the card with the new BATTERY serial number, not the required INVERTER serial number. There was no indication of this error, just the card was blank all the time.

Describe the solution you'd like A bit more intelligence in the card, maybe if it could detect that the battery not inverter serial number has been supplied, or more generally, if an invalid entity is supplied or no entity, then an error message is displayed in the card rather than the card rendering blank.

Additional context BTW, typo on GivTCP in the example yaml on the read.me file