fishbigger / HomeAssistant-Tapo-P100-Control

A custom integration for home assistant to control the Tapo P100 plugs
MIT License
207 stars 69 forks source link

Add Flash Bulb #37

Open gentleadam opened 3 years ago

gentleadam commented 3 years ago

Hello,

I've added the ability to flash the bulb using HA FLASH_ATTR. As this isn't built into the Tapo system I have written the code to turn the bulb on and off to create a flash effect.

I'm a beginner, and I'm sure this can be done in a better way. Would appreciate your feedback.