Did something changed lately as for break my Energy Dashboard completely?

I am using HA with the following version/release:

  • Home Assistant 2023.5.4
  • Supervisor 2023.04.1
  • Operating System 10.1
  • Frontend 20230503.3 - latest

My Energy Dashboard stopped working and I can’t find a reason. I have checked Mosquitto Logs and AMR2MQTT logs and both are working fine and receiving data from the devices connected to them.

This is what the Energy config looks like:

And this one is for water consumption:

The entities are defined as:

#configuration.yaml
template: !include includes/templates/template.yaml
sensor: !include includes/sensor/sensors.yaml

#includes/templates/template.yaml
- sensor:
    - name: Energy Price
      unique_id: energy_price
      icon: mdi:counter
      state_class: total_increasing
      device_class: energy
      unit_of_measurement: USD/kWh
      state: >
        {% set consumption=states('sensor.energy_meter_consumption')|float(0) %}
        {% set fuel_adjustment=consumption*0.04260 %}
        {{ 0.05214 if consumption > 1000 else 0.04989 + fuel_adjustment }}
      availability: "{{  states('sensor.energy_meter_consumption')|is_number }}"

#includes/sensor/sensors.yaml
- platform: template
  sensors:
    # convert value from add-in into statistic
    water_meter_total_gal:
      friendly_name: "Total Water Consumption"
      device_class: water
      unit_of_measurement: gal
      value_template: "{{ (states('sensor.water_meter_consumption') | float)  }}"
      attribute_templates:
        state_class: total_increasing

what I am missing here?

Show the state value and configuration for the following sensors:

sensor.energy_meter_consumption
sensor.water_meter_consumption

those are being added/created by the AMR2MQTT addon and I am not sure in how to extract such information or even if it is possible. :expressionless: