Programmable power in smart home appliances