I have recently invested in two of the aforementioned smart plugs (They were on sale and I should have known better ). Anyway I have manged to set them and I am able to monitor the following values in HA
power_consumption: 0.07 W
total_consumption: 3.2 kWh
temperature: 46 °C
friendly_name: D-link Smart Plug W215
The strange thing is that the actual values include the unit of measure, so that {{ states.switch.dlink_smart_plug_w215.attributes.power_consumption }} yields 0.07 W not 0.07. Is there some clever way to strip away the unit of measurement?
Hi, can someone please show me the HA confit for this power-meter smart plug? I want to be able to turn it off when the power consumption reaches a certain threshold - I’m using it to charge a bike battery and I hope to find the right settings so the battery only gets charged to around 80-90 percent. Thanks