API call api/services/switch/toggle does not work for lights
Closed this issue · 2 comments
baracoder commented
For lights it should be api/services/light/toggle
geoph9 commented
Thank you very much for bringing this up!
This commit should fix the issue. I will test it myself next week and I will upload a new release if everything is okay. You can test this change by using the build.sh
script with the --latest
option.
Should also close #16
geoph9 commented
I tested this and the fix seems to work. Thanks again for noticing it!