MQTT, extract data from energy meter - json

at work off top of head

- platform: mqtt
  name: "MQTT MainMeter"
  state_topic: "CTEK/000011295/mainMeter/em"
  value_template: "{{value_json['power']}}" #< should read 4262.7998046875
  unit_of_measurement: "KWh"

then to read the current stuff

- platform: mqtt
  name: "MainMeter Current 1st"
  state_topic: "CTEK/000011295/mainMeter/em"
  value_template: "{{value_json['current'][0]}}" #< should read the 17.097000
  unit_of_measurement: "KWh"
  value_template: "{{value_json['current'][1]}}" #< should read the 1.2999999523162842

just remeber I wrote this

found this I wrote sum time ago