Teckin SP32 on ESPHome

just flashed 2 teckin sp23 plugs with tasmota then esphome. using altered code, relay works but no voltage or wattage reported. had same issue with the tasmota flash so not just with eaphome related.