I have two KL130 smart bulbs from Kasa (TPLink). I have a Netlify build that runs to deploy my site. I wanted to show the status of my last two web site builds.
- Gnarly code warning: My lights are aliased as
Office 1
andOffice 2
and the code relies on these labels. Change the prefix innetlify-build-lights.js
- Rename
sample.env
to.env
and fill in the values.- Find a NETLIFY_TOKEN.
- Find your Netlify site’s API ID on the Site details page. Mine was
https://app.netlify.com/sites/11ty/settings/general