Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
To control a smart bulb using ACS we will implement a python component using the Component Generator tool.
The component generation tool uses a template in YML to create the component's IDL and implementation.
working_dir: ~/workspace prefix: ACSIOT module: acsiot component_name: TuyaBulb functions: - 'void turnOn(in string api_region, in string api_key, in string api_secret, in string device_id)' - 'void turnOff(in string api_region, in string api_key, in string api_secret, in string device_id)'