Newer
Older
homeassistant_config / sensors / energy.yaml
- platform: integration
  source: sensor.steca_inverter_10_0_1_4_ac_power
  name: energy_generated
  method: left
  unit_prefix: k
  unit_time: h
  round: 8

- platform: integration
  source: sensor.tv_baenk_energi
  name: tv_baenk_power_used
  method: left
  unit_prefix: k
  unit_time: h
  round: 4

- platform: integration
  source: sensor.aircondition_energi
  name: aircondition_power_used
  method: left
  unit_prefix: k
  unit_time: h
  round: 4

- platform: integration
  source: sensor.opvaskemaskine_energi
  name: opvaskemaskine_power_used
  method: left
  unit_prefix: k
  unit_time: h
  round: 4

- platform: integration
  source: sensor.computer_energi
  name: computer_power_used
  method: left
  unit_prefix: k
  unit_time: h
  round: 4

- platform: integration
  source: sensor.teknikskab_energi
  name: teknikskab_power_used
  method: left
  unit_prefix: k
  unit_time: h
  round: 4

- platform: integration
  source: sensor.retur_til_elnet
  name: solcelle_energy_to_grid
  method: left
  unit_prefix: k
  unit_time: h
  round: 4

- platform: statistics
  name: Average energy price last 30d mean
  entity_id: sensor.energi_data_service
  state_characteristic: mean
  sampling_size: 760
  max_age:
    days: 30

- platform: statistics
  name: Energy price last 30d (std)
  entity_id: sensor.energi_data_service
  state_characteristic: standard_deviation
  sampling_size: 512
  max_age:
    days: 30

- platform: statistics
  name: Energy price last 30d (mean)
  entity_id: sensor.energi_data_service
  state_characteristic: mean
  sampling_size: 512
  max_age:
    days: 30