Closed SidShetye closed 3 years ago
Great idea, happy to accept a PR for this. 👍
I believe this was already fixed in a recent commit right?
https://github.com/TuyaAPI/cli/commit/2bdd195a5479b581e0d2572a9da8febf8c7d5ff1
Specifically with the new -s
option.
Yep, forgot to link this issue to https://github.com/codetheweb/tuyapi/issues/390.
Thanks for the reminder.
Included in v1.15.0 of @tuyapi/cli.
At present
tuya-cli wizard
outputs an object likebut it would be far more useful to have it print out valid JSON instead (e.g. homebridge wants this JSON, tedious for >5 devices) like
The fix is simple, at wizard.js ~ line 93
from
to
or something similar