Fix README

This commit is contained in:
ChNussbaum 2020-05-13 16:40:55 -05:00
parent 3457f49bdc
commit 5a7d1b248f

View File

@ -40,19 +40,23 @@
> This switch will be installed in place of the switch that controls my [TREO LED Pool Lights](https://www.amazon.com/gp/product/B06XTRLM5M/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1). These lights have the option to select different colors by briefly turning them off and back on again and they do remember the last color when turned on again. The custom light component handles tracking the current color and exposes custom "effects" for each of the colors to [Home Assistant](https://www.home-assistant.io/). I went with the triple switch so that I could use the third button to control my [Patio Lights](#patio-lights) which otherwise do not have a physical switch. Note I have tested the code on a [WEMOS D1 Mini clone](https://www.amazon.com/gp/product/B076F52NQD/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1) but I have not installed this on the switch yet or confirmed the timings actually work with the lights yet.
## Dimmer Switches
> After trying several dimmers I finally decided to standardize on on the [Feit Dimmers](https://www.amazon.com/gp/product/B07SXDFH38/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1). I bought the first couple of these at Costco for a better price than Amazon but Costco doesn't seem to carry them anymore.
> ### [Feit Dimmers](https://www.amazon.com/gp/product/B07SXDFH38/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1)
> After trying several dimmers I finally decided to standardize on on the Feit Dimmers. I bought the first couple of these at Costco for a better price than Amazon but Costco doesn't seem to carry them anymore.
> Things I like about these switches:
> > * Can be flashed using [Tuya-Convert](https://github.com/ct-Open-Source/tuya-convert)
> > * Have a solid feel to them
> > * They can be linked via a traveler wire (this works even when flashed with ESPHome and while not mentioned in the documentation you can link more than 2 switches this way)
> Things I don't like about these switches:
> > * Have to click repeatedly to change the brightness (can't hold to change)
> > * All buttons are managed by the Tuya MCU so no ability to do things like double-taps (although I may have a solution for this but haven't had a chance to do a POC)
> I have created a custom component for these that should work with most (if not all) Tuya dimmers which provides the following extra features:
> > * Resets the brightness level back to a default level when turned off so that it always comes on at the same level instead of the level it was at when turned off
> > * The default level is configurable as different levels when my house is in "Day" mode vs "Night" mode (based on a binary sensor in Home Assistant)
> > * Provides a service that I can dynamically change the current default brightness level
> > * Allows you to "link" another light in Home Assistant that will be controlled by this dimmer
> The following devices are Feit Dimmers:
> > * Basement Stair Lights/Basement Stair Lights 2
> > * Computer Light