Adding sensor values getting unavailable

I am trying to calculate total power used in a room, but I am just getting a unavailable warning. I am using TP link smart switch outlets and surge protectors.

sensor:
  - platform: template
    sensors:
      power_total1:
        friendly_name: "Total Room Amprage #1"
        unit_of_measurement: 'A'
        value_template: "{{(states('sensor.amazon_ups_current')|float) + (states('sensor.rackmount_ups_current')|float) + (states('sensor.samsung_monitor_current')|float) + (states('sensor.desktop_pc_current')|float) + (states('sensor.desktop_speaker_current'))}}"
  - platform: template
    sensors:
      power_total2:
        friendly_name: "Total Room Amprage #2"
        unit_of_measurement: 'A'
        value_template: "{{(states('sensor.wireless_charger_current')|float) + (states('sensor.thermostat_current')|float) + (states('sensor.tv_current')|float) + (states('sensor.tv_sound_bar_current')|float) + (states('sensor.subwoofer_current'))}}"