Hi all,
I would like to integrate Helea Smart Plug with Home Assistant and populate Energy Dashboard.
Currently, I have used TuyaLocal to integrate all my Helea Plugs using below Yaml configuration and functions such as Current (mA), Power (W), Voltage (V) is getting populated, But I am unable to view these under Energy Configuration > Individual devices
/config/configuration.yaml
- host: 192.168.0.152
device_id: bf4e75f3cee81f217dmgit
local_key: xxxxxxxxxxxxxx
friendly_name: "Computer_Plug"
protocol_version: "3.3"
scan_interval: 15
entities:
- platform: switch
friendly_name: Computer_Switch
id: 1
- platform: sensor
friendly_name: Computer_current
scaling: 1.0
device_class: current
unit_of_measurement: 'mA'
id: 18
- platform: sensor
friendly_name: computer_consumption
scaling: 0.1
device_class: energy
unit_of_measurement: 'W'
id: 19
- platform: sensor
friendly_name: Computer_voltage
scaling: 0.1
device_class: voltage
unit_of_measurement: 'V'
id: 20
######################################################################-
##################### SENSORS ###############################
######################################################################
# Example configuration.yaml entry
sensor:
- platform: integration
source: sensor.common_Heater_consumption
name: common_heater_energy_spentv1
unit_prefix: k
round: 2
method: left
- platform: integration
source: sensor.computer_consumption
name: computer_energy_spentv1
unit_prefix: k
round: 2
method: left
- platform: integration
source: sensor.masterbedroomheater_consumption
name: mastern_heater_energy_spentv1
unit_prefix: k
round: 2
method: left
#####################################################################
# Example configuration.yaml entry
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_utc'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
- 'beat'
#####################################################################
- platform: integration
source: sensor.computer_consumption
name: energy_spent_Computer
unit_prefix: k
round: 2
- platform: integration
source: sensor.masterbedroomheater_consumption
name: energy_spent_Master_Heater
unit_prefix: k
round: 2
- platform: integration
source: sensor.common_Heater_consumption
name: energy_spent_Common_Heater
unit_prefix: k
round: 2
But under Energy tab, these sensors are not displaying under Individual devices, Kindly help in fixing this issue