- platform: history_stats
    name: Cab Heat History Today
    entity_id: switch.aeotec_limited_unknown_type_0103_id_0017_switch_2
    state: "on"
    type: time
    start: "{{ now().replace(hour=0, minute=0, second=0) }}"
    end: "{{ now() }}"

utility_meter:
  daily_energy:
    source: sensor.cab_heater_sum
    name: Cab Heater Daily Energy
    cycle: daily
  monthly_energy:
    source: sensor.cab_heater_sum
    name: Cab Heater Monthly Energy
    cycle: monthly