Component to integrate with Tasmota switches.
This component will set up the following platforms:
Platform | Description |
---|---|
switch |
Switch the device on or off. |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledtasmota_switch
. - Download all the files from the
custom_components/tasmota_switch/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- Choose:
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Tasmota Switch"
- Add
tasmota_switch:
to your HA configuration.
tasmota_switch:
- url: 192.168.1.20
name: My Tasmota Plug
- url: 192.168.1.21
- url: 192.168.1.22
username: admin
password: mysupersecretpassword
Key | Type | Required | Description |
---|---|---|---|
url |
string |
True |
The IP-address or domain of the Tasmota device. |
name |
string |
False |
A display name for the device. If not set, the friendly name set in Tasmota will be used. |
username |
string |
False |
If a webUI password is set, authentication is required. The username is usually admin. |
password |
string |
False |
If a webUI password is set, authentication is required. |
If you want to contribute to this please read the Contribution guidelines