* fixed non working example
small fix to get the color swipe working
* Apply suggestions from code review
Co-Authored-By: Otto Winter <otto@otto-winter.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
`.time` is deprecated since https://github.com/esphome/esphome/pull/531; this updates the reference in the documentation so that warnings like the following can be avoided:
```
src/main.cpp: In lambda function:
src/main.cpp:462:20: warning: 'esphome::time::ESPTime::<anonymous union>::time' is deprecated (declared at src/esphome/components/time/real_time_clock.h:35): .time is deprecated, use .timestamp instead [-Wdeprecated-declarations]
return (time.time);
```
* Cookbook for Sonoff Light Switches
Cookbook for various Sonoff Light Switch options including Basic, Dual and T1-3
* Removed references to myself
All references to I have been removed and re worded into a more generic text
* Fixed Formatting issues to Pass Travis Checks
* Update cookbook/sonoff-basic-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* Update cookbook/sonoff-dual-light-switch.rst
Co-Authored-By: Otto Winter <otto@otto-winter.com>
* YAML updates
Removed fast_connect, UART swotches from Dual R1, and reference to an issue that no longer exists