Problem with utility meter template (for Emporia Vue data)

Unfortunately availability is not going to help. Those sensors went to zero instead of unavailable.

Your options:

  1. ESPHome as mentioned by mwaterbu above (I know nothing about this particular device ESPHome firmware).

  2. If it is caused by power outages, a small UPS or DC UPS. My IoTaWatt energy meter needs this to prevent glitches during power loss. See IoTaWatt Discussion - #71 by tom_l

Nothing in the Utility meter setup can prevent this occurring and filtering your sensors to reject 0 values is not possible as they legitimately reset to 0 periodically.