Test api.doc.
This commit is contained in:
parent
503d1ffc32
commit
02886b846c
@ -201,10 +201,10 @@ Set_mode_resource_fields = {
|
||||
Set_mode_model = api.model('Set_mode_Model', Set_mode_resource_fields)
|
||||
|
||||
set_mode_description = 'Temporary forced modes (will stay in effect for '+str(int(forced_mode_duration))+' seconds):\n'\
|
||||
+'\n'.join(['# /'+target+'\n' for target in targets])\
|
||||
+'\n'.join(['- '+target+'\n' for target in targets])\
|
||||
+'\n'\
|
||||
+'Permanent forced modes:\n'\
|
||||
+'\n'.join(['# /'+mode+'\n' for mode in modes])
|
||||
+'\n'.join(['- '+mode+'\n' for mode in modes])
|
||||
|
||||
@ns_thermostat.route('/set_mode')
|
||||
class Set_mode_thermostat(Resource):
|
||||
|
Loading…
Reference in New Issue
Block a user