diff --git a/athom-smart-plug-v2.yaml b/athom-smart-plug-v2.yaml index be22cac5..cbc60af5 100644 --- a/athom-smart-plug-v2.yaml +++ b/athom-smart-plug-v2.yaml @@ -27,7 +27,7 @@ substitutions: # Enable or disable the use of IPv6 networking on the device ipv6_enable: "false" # Hide the ENERGY sensor that shows kWh consumed, but with no time period associated with it. Resets when device restarted and reflashed. - hide_energy_sensor: "true" + hide_energy_sensor: "false" # Specifies whether pins should be initialised as early as possible to known values. Recommended value is false where switches are involved, as these will toggle when updating the firmware or when restarting the device. Defaults to true. early_pin_init: "true" @@ -210,6 +210,7 @@ sensor: name: "Energy" id: energy unit_of_measurement: kWh + internal: ${hide_energy_sensor} filters: - throttle: ${sensor_update_interval} # Multiplication factor from W to kW is 0.001 @@ -222,7 +223,7 @@ sensor: id(total_energy) += current_energy_value - previous_energy_value; previous_energy_value = current_energy_value; id(total_energy_sensor).update(); - # internal: ${hide_energy_sensor} + apparent_power: name: "Apparent Power"