getSwitchbotData() stopped pulling data on 2024-05-23.
After troubleshooting, found out that there is a new API version available.
Was able to fix getSwitchbotData() simply by changing the URL for the new API
Changes:
//var url = "https://api.switch-bot.com/v1.0/devices";
var url = "https://api.switch-bot.com/v1.1/devices";
Hope this help others! :)
getSwitchbotData() stopped pulling data on 2024-05-23.
After troubleshooting, found out that there is a new API version available.
Was able to fix getSwitchbotData() simply by changing the URL for the new API
Changes:
//var url = "https://api.switch-bot.com/v1.0/devices";
var url = "https://api.switch-bot.com/v1.1/devices";
Hope this help others! :)