Light Fidelity or Li-Fi is an emerging technology that uses the visible light spectrum for communication. Home automation is one of the very useful ways to control various electronic devices used in a home for our day to day activities. This paper proposes the use of Li-Fi technology, comprising light-emitting diode (LED) bulbs, as means of connectivity. Data is sent through light spectrum on an optical wireless medium as signal propagation. This idea can be implemented as an android application connected to the cloud. All the devices in any home can be monitored and controlled using this app installed in a mobile phone. A user can change the state of any device (ON/OFF) with this app. Changes are made in the cloud, and a message is sent as a binary sequence to the hardware connected to the light source. After translation, the identity of the device that needs to be controlled is obtained along with the message to toggle it between the ON and OFF states. This message is sent across using visible light communication in a secure way as the data remains within the limits of the four walls. Hardware on the receiving end senses the blinking light source, and translates the blinks into a binary sequence thus obtaining the original message. Then the device performs the necessary action and updates the cloud after completion. This is further reflected on the android application of the user's phone. Attackers cannot break into this system easily, as the device identity and the light source is required to manipulate it.