Skip to content

Commit b5a6b63

Browse files
committed
Added enableScenes API documentation
1 parent 3097859 commit b5a6b63

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/source/api/rainmaker.rst

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ The key features of ESP RainMaker are:
2222

2323
Additional information about ESP RainMaker can be found `here <https://rainmaker.espressif.com/>`__.
2424

25-
#########################
26-
Arduino ESP Rainmaker API
27-
#########################
2825

2926
ESP RainMaker Agent API
3027
-----------------------
@@ -127,6 +124,21 @@ This function will return
127124
1. `ESP_OK` : On success
128125
2. Error in case of failure
129126

127+
RMaker.enableScenes
128+
*******************
129+
130+
This API enables the Scenes service for the node. It should be called after `RMaker.initNode()` and before `RMaker.start()`.
131+
For more information, check `here <https://rainmaker.espressif.com/docs/scenes.html>`__.
132+
133+
.. code-block:: arduino
134+
135+
esp_err_t enableScenes()
136+
137+
This function will return
138+
139+
1. `ESP_OK` : On success
140+
2. Error in case of failure
141+
130142
RMaker.setTimeZone
131143
******************
132144

0 commit comments

Comments
 (0)