After finding these codes, i added and actuator to the platform with two functions on() and off()
Mobile version
New update: i was forgetting one important thing, set a policy to turn on water heater between 7 am and 8 am and turn off after 8 am.

My policies in system

turn_heater_on policy info