I have been playing with the code, adding commands for the Kasa KL110 SmartBulb. On, Off and Dim are working.