very basic, needs testing.
* To do: Set switch to reflect the current state on init. (Currently defaults to off after HA reboot.)
* Occasionally the custom component fails to load on HA start. Usually fixed by restarting HA.
* When switches are toggled occasionally a false error is reported. This could be due to async call. The desired behavior still occurs though.
- Added property to switches which contains the last response from the API. This will reflect "Success!" or otherwise the error message that was provided by the API.
- Added additional properties 'status' and 'device' to switches.