energy 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "version": 1,
  3. "minor_version": 1,
  4. "key": "energy",
  5. "data": {
  6. "energy_sources": [
  7. {
  8. "type": "grid",
  9. "flow_from": [
  10. {
  11. "stat_energy_from": "sensor.basement_heater_summation_delivered",
  12. "stat_cost": null,
  13. "entity_energy_price": "input_number.electricity_price",
  14. "number_energy_price": null
  15. },
  16. {
  17. "stat_energy_from": "sensor.bedroom_heater_summation_delivered",
  18. "stat_cost": null,
  19. "entity_energy_price": "input_number.electricity_price",
  20. "number_energy_price": null
  21. },
  22. {
  23. "stat_energy_from": "sensor.office_heater_summation_delivered",
  24. "stat_cost": null,
  25. "entity_energy_price": "input_number.electricity_price",
  26. "number_energy_price": null
  27. },
  28. {
  29. "stat_energy_from": "sensor.servers_power_summation_delivered",
  30. "stat_cost": null,
  31. "entity_energy_price": "input_number.electricity_price",
  32. "number_energy_price": null
  33. }
  34. ],
  35. "flow_to": [],
  36. "cost_adjustment_day": 0.0
  37. }
  38. ],
  39. "device_consumption": [
  40. {
  41. "stat_consumption": "sensor.basement_heater_summation_delivered"
  42. },
  43. {
  44. "stat_consumption": "sensor.bedroom_heater_summation_delivered"
  45. },
  46. {
  47. "stat_consumption": "sensor.office_heater_summation_delivered"
  48. },
  49. {
  50. "stat_consumption": "sensor.servers_power_summation_delivered"
  51. }
  52. ]
  53. }
  54. }