diff --git a/thermostat.py b/thermostat.py index e77bfeb..50291b1 100755 --- a/thermostat.py +++ b/thermostat.py @@ -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):