i have a smart plug with energy monitor. it has been flashed with Tasmota and working fine.
what i noticed is that data for power takes a very long time to update in HA. here’s a screenshot:
at least ON/OFF status works. but HA takes at least 5 minutes to update to real time status of the plug.
is there any way to speed this up?
this is my yaml in config file.
sensor:
- platform: mqtt
name: "refrigerator Energy Today"
state_topic: "tele/top2/SENSOR"
value_template: '{{ value_json["ENERGY"]["Today"] }}'
unit_of_measurement: "kWh"
- platform: mqtt
name: "refrigerator Power"
state_topic: "tele/top2/SENSOR"
value_template: '{{ value_json["ENERGY"]["Power"] }}'
unit_of_measurement: "W"
- platform: mqtt
name: "refrigerator Voltage"
state_topic: "tele/top2/SENSOR"
value_template: '{{ value_json["ENERGY"]["Voltage"] }}'
unit_of_measurement: "V"
- platform: mqtt
name: "refrigerator Current"
state_topic: "tele/top2/SENSOR"
value_template: '{{ value_json["ENERGY"]["Current"] }}'
unit_of_measurement: "A"