How can I request and import cgi data as a sensor

ok! It might me easier to buy another energy monitor with ct clamps.

Hardware would be best but if you do use the template and integral helper for now, then you will have to go to the Dev Tools → Statistics page and use the Fix Issue button because of the unit change.

1 Like

I have another fun one for you. How can I fix the time on this history stats sensor?
Capture7111

  - platform: history_stats
    name: Hvac Idle Today
    unique_id: HvacIdleToday
    entity_id: sensor.hvac_action
    state: "idle"
    type: time
    start: "{{ now().replace(hour=0, minute=0,second=0) }}"
    end: "{{ now() }}"