Updated Home Assistant (markdown)

Michael Ingraham 2019-11-09 13:48:33 -05:00
parent 4d0050c343
commit e704c7937c
1 changed files with 3 additions and 3 deletions

@ -65,7 +65,7 @@ MQT: tasmota/stat/RESULT = {"BUTTON1":"TOGGLE"}
MQT: tasmota/stat/RESULT = {"POWER":"ON"} MQT: tasmota/stat/RESULT = {"POWER":"ON"}
MQT: tasmota/stat/POWER = ON MQT: tasmota/stat/POWER = ON
``` ```
This option leave to the user the ability to get a more granular control over entities on both Tasmota or Hass. This option gives the user the ability to get a more granular control over entities on both Tasmota and Hass.
A simple Tasmota rule example: A simple Tasmota rule example:
```lua ```lua
@ -80,9 +80,9 @@ MQT: tasmota/stat/RESULT = {"BUTTON1":"TOGGLE"}
and the relay will NOT be switched. and the relay will NOT be switched.
Tasmota `switchmode` default for buttons and switches is `Switchmode 0` (TOGGLE). This means all the entities created will automatically turn off after `one second`. To change the button behavior a [switchmode](Commands#switchmode) change is needed. For example setting up a switch to `switchmode 1` (follow) will create a switch with ON and OFF payloads. Tasmota `switchmode` default for buttons and switches is `Switchmode 0` (TOGGLE). This means all the entities created will automatically turn off after `one second`. To change the button behavior, [`SwitchMode`](Commands#switchmode) must be changed. For example setting up a switch to `SwitchMode 1` (follow) will create a switch with ON and OFF payloads.
For other type of devices, e.g SOnoff iFan02, example entries for `configuration.yaml` are available in [[Home Assistant - Manual Config|Home-Assistant--Manual-Config]] For other type of devices, e.g Sonoff iFan02, example entries for `configuration.yaml` are available in [[Home Assistant - Manual Config|Home-Assistant--Manual-Config]]
On each Tasmota device which should be automatically discovered by Hass, enter the following commands in the web console:\ On each Tasmota device which should be automatically discovered by Hass, enter the following commands in the web console:\
`SetOption19 1` - Enables MQTT discovery\ `SetOption19 1` - Enables MQTT discovery\