Successful Integration of Smart Plug with Wall Switch

I recently set up my Home Assistant on a Synology NAS and wanted to automate my lighting system. I have a Konyks Inteli wall switch linked via Tuya and a Philips smart plug for a lamp. The goal was to have the smart plug turn on the lamp when I flip the wall switch. As a newcomer to Home Assistant, I found this a bit challenging, especially accessing the YAML files. However, after some research and experimentation, I managed to set it up successfully! Here’s how I did it:

  1. Understanding the Components: I realized the wall switch needed to communicate with the smart plug. Both devices are connected to Home Assistant, so I needed to bridge their communication.

  2. Setting Up Automations: I used the automation editor in Home Assistant to create a rule where turning the wall switch on triggers the smart plug to power the lamp. I also set it to turn off when the switch is flipped again.

  3. Testing the Setup: After saving the automation, I tested it by flipping the switch. The lamp turned on, and flipping it again turned it off. It worked perfectly!

This integration has made my lighting system much more convenient. I no longer need to use the smart plug’s app; everything is controlled through the wall switch. It’s a great way to combine traditional and smart home technologies!

If anyone else is looking to do something similar, I recommend starting with simple automations and gradually expanding. The Home Assistant community is very supportive, and there are plenty of resources available to help you along the way. Happy automating! :rocket: